Skip to content

Commit 21eba39

Browse files
authored
add examples (#211)
1 parent 19a3672 commit 21eba39

6 files changed

Lines changed: 39 additions & 0 deletions

File tree

examples/5-normal-css/src/a.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import './global.css';
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
html, body {
2+
margin: 0;
3+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"extends": "../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"target": "ES5", // Simplify tsserver.log
5+
"lib": ["ES5"], // Simplify tsserver.log
6+
"module": "Preserve",
7+
"moduleResolution": "bundler",
8+
"jsx": "react-jsx",
9+
10+
"noEmit": true,
11+
"incremental": false,
12+
"rootDirs": [".", "generated"],
13+
"types": [] // Simplify tsserver.log
14+
}
15+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import './external.module.css';
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
html, body {
2+
margin: 0;
3+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"exclude": ["src/external.module.css"],
3+
"extends": "../../tsconfig.base.json",
4+
"compilerOptions": {
5+
"target": "ES5", // Simplify tsserver.log
6+
"lib": ["ES5"], // Simplify tsserver.log
7+
"module": "Preserve",
8+
"moduleResolution": "bundler",
9+
"jsx": "react-jsx",
10+
11+
"noEmit": true,
12+
"incremental": false,
13+
"rootDirs": [".", "generated"],
14+
"types": [] // Simplify tsserver.log
15+
}
16+
}

0 commit comments

Comments
 (0)