Skip to content

Commit 8c348f8

Browse files
chore: fix tsconfig of rsbuild plugin
1 parent 3c03314 commit 8c348f8

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

packages/rsbuild-plugin/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"outputs": ["{options.outputPath}"],
1010
"options": {
1111
"outputPath": "packages/rsbuild-plugin/dist",
12-
"main": "packages/rsbuild-plugin/src/index.ts",
12+
"main": "packages/rsbuild-plugin/cli/src/index.ts",
1313
"tsConfig": "packages/rsbuild-plugin/tsconfig.json",
1414
"assets": [],
1515
"project": "packages/rsbuild-plugin/package.json",

packages/rsbuild-plugin/src/index.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/rsbuild-plugin/tsconfig.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
4+
"baseUrl": ".",
5+
"rootDir": "./",
46
"outDir": "dist",
57
"sourceMap": false,
68
"module": "es2022",
79
"target": "es2022",
10+
"skipLibCheck": true,
11+
"moduleResolution": "node",
812
"allowJs": false,
913
"strict": true,
1014
"types": ["jest", "node"],
15+
"experimentalDecorators": true,
1116
"resolveJsonModule": true,
1217
"allowSyntheticDefaultImports": true,
18+
"esModuleInterop": true,
1319
"removeComments": true,
1420
"declaration": true,
1521
"paths": {

0 commit comments

Comments
 (0)