Files
Tobias KoppersandGitHub 77e6b033c5 fix css order for some edge cases in App Dir (#66500)
### What?

* order of CSS between layout and page
* order of CSS between page and next/dynamic

### Why?

### How?

* overrides webpack CSS chunk loading to use react CSS loading to allow
them to share the order
2024-06-04 10:18:52 +02:00

16 lines
369 B
TypeScript

'use client'
import base from './base.module.css'
import styles from './inner2.module.css'
export default async function Inner2() {
if (typeof window === 'undefined') {
throw new Error('Expected error to opt out of server rendering')
}
return (
<p id="inner2" className={`global-class ${base.class} ${styles.class}`}>
Hello Inner 2
</p>
)
}