Skip to content

Commit 2840932

Browse files
fix(rsbuild-plugin): correct build configuration
- Fixed main entry path in project.json to correct location - Added extends to tsconfig.json to inherit base configuration - Added dependsOn configuration for proper build dependencies 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ebb4268 commit 2840932

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

packages/rsbuild-plugin/project.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,21 @@
99
"outputs": ["{options.outputPath}"],
1010
"options": {
1111
"outputPath": "packages/rsbuild-plugin/dist",
12-
"main": "packages/rsbuild-plugin/cli/src/index.ts",
12+
"main": "packages/rsbuild-plugin/src/cli/index.ts",
1313
"tsConfig": "packages/rsbuild-plugin/tsconfig.json",
1414
"assets": [],
1515
"project": "packages/rsbuild-plugin/package.json",
1616
"rollupConfig": "packages/rsbuild-plugin/rollup.config.js",
1717
"compiler": "swc",
1818
"format": ["cjs", "esm"],
1919
"generatePackageJson": false
20-
}
20+
},
21+
"dependsOn": [
22+
{
23+
"target": "build",
24+
"dependencies": true
25+
}
26+
]
2127
},
2228
"lint": {
2329
"executor": "@nx/eslint:lint",

packages/rsbuild-plugin/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"extends": "../../tsconfig.base.json",
23
"compilerOptions": {
34
"baseUrl": ".",
45
"rootDir": "./",

0 commit comments

Comments
 (0)