Skip to content

Commit f935ac8

Browse files
chore: reverse tsconfig change
1 parent 221c9b5 commit f935ac8

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

packages/rsbuild-plugin/tsconfig.json

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
4-
"module": "commonjs",
5-
"forceConsistentCasingInFileNames": true,
6-
"strict": true,
7-
"noImplicitOverride": true,
8-
"noPropertyAccessFromIndexSignature": true,
9-
"noImplicitReturns": true,
10-
"noFallthroughCasesInSwitch": true,
4+
"baseUrl": ".",
5+
"rootDir": "./",
6+
"outDir": "dist",
7+
"sourceMap": false,
8+
"module": "es2022",
9+
"target": "es2022",
10+
"skipLibCheck": true,
1111
"moduleResolution": "node",
12+
"allowJs": false,
13+
"strict": true,
14+
"types": ["jest", "node"],
15+
"experimentalDecorators": true,
1216
"resolveJsonModule": true,
17+
"allowSyntheticDefaultImports": true,
1318
"esModuleInterop": true,
14-
"skipLibCheck": true,
15-
"skipDefaultLibCheck": true,
19+
"removeComments": true,
1620
"declaration": true,
17-
"noImplicitAny": false
21+
"paths": {
22+
"@/*": ["./*"],
23+
"@src/*": ["./src/*"]
24+
}
1825
},
1926
"include": ["src", "../../global.d.ts", "__tests__/**/*"],
20-
"exclude": [
21-
"jest.config.ts",
22-
"src/**/*.spec.ts",
23-
"src/**/*.test.ts",
24-
"node_modules/**/*",
25-
"../node_modules"
26-
],
27+
"exclude": ["node_modules/**/*", "../node_modules"],
2728
"references": [
2829
{
2930
"path": "./tsconfig.lib.json"

0 commit comments

Comments
 (0)