File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed
packages/plugin-rsc/examples/basic/src/routes/style-server Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change
1
+ .test-style-server-not-detected {
2
+ color : rgb (255 , 165 , 0 );
3
+ }
Original file line number Diff line number Diff line change
1
+ import './server.css'
2
+
3
+ export function TestStyleServerNotDetected ( ) {
4
+ return (
5
+ < div className = "test-style-server-not-detected" >
6
+ test-style-server-not-detected
7
+ </ div >
8
+ )
9
+ }
Original file line number Diff line number Diff line change 1
1
import './server.css'
2
2
import styles from './server.module.css'
3
+ // import { TestStyleServerNotDetected } from "./not-detected/server";
3
4
4
- export function TestStyleServer ( ) {
5
+ export async function TestStyleServer ( ) {
6
+ const { TestStyleServerNotDetected } = await import ( './not-detected/server' )
5
7
return (
6
8
< >
7
9
< div className = "test-style-server" > test-style-server</ div >
8
10
< div data-testid = "css-module-server" className = { styles . server } >
9
11
test-css-module-server
10
12
</ div >
13
+ < TestStyleServerNotDetected />
11
14
</ >
12
15
)
13
16
}
You can’t perform that action at this time.
0 commit comments