Skip to content

Commit 817d084

Browse files
committed
fix
1 parent 204fcae commit 817d084

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

boilerplates/pnpm-workspace/tsconfig.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"compilerOptions": {
33
"target": "ES2020",
44
"module": "commonjs",
5-
"lib": ["ES2020", "DOM"],
5+
"lib": [
6+
"ES2020",
7+
"DOM"
8+
],
69
"declaration": true,
710
"outDir": "./dist",
811
"strict": true,
@@ -17,12 +20,13 @@
1720
"emitDecoratorMetadata": true,
1821
"skipLibCheck": true,
1922
"forceConsistentCasingInFileNames": true,
20-
"jsx": "react-jsx"
23+
"jsx": "react-jsx",
24+
"resolveJsonModule": true
2125
},
2226
"exclude": [
2327
"node_modules",
2428
"dist",
2529
"**/*.test.*",
2630
"**/*.spec.*"
2731
]
28-
}
32+
}

0 commit comments

Comments
 (0)