Files
Tobias KoppersandGitHub 43d911406b add conditions for webpack loader rules (#63333)
### What?

* Allow to apply webpack loaders depending on "conditions".
* add a few next specific conditions depending on context type

### Why?

Some loaders need different behavior depending on context

### How?


Closes PACK-2748
2024-03-16 21:02:10 +01:00

12 lines
200 B
TypeScript

import Client from './client'
import rsc from './file.test-file.js'
export default function Page() {
return (
<div>
<p>server: {JSON.stringify(rsc)}</p>
<Client />
</div>
)
}