mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What? This fixes more CSS ordering issues with production and webpack dev. * CSS Modules must not be side effect free as side effect free modules are per definition order independent which is not true for CSS * fix order of iterating module references * disable splitChunks for CSS * special chunking for CSS with loose and strict mode * more test cases Closes PACK-2709
20 lines
433 B
TypeScript
20 lines
433 B
TypeScript
import style0 from '../style0.module.css'
|
|
import style1 from '../style1.module.css'
|
|
import style3 from '../style3.module.css'
|
|
import style4 from '../style4.module.css'
|
|
import Nav from '../../nav'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<div>
|
|
<p
|
|
className={`${style0.name} ${style1.name} ${style3.name} ${style4.name}`}
|
|
id="helloib"
|
|
>
|
|
hello world
|
|
</p>
|
|
<Nav />
|
|
</div>
|
|
)
|
|
}
|