Skip to content

Commit 907475a

Browse files
fix: align rsbuild-plugin config with working packages
- Add missing "types" field to package.json (like rspack and sdk have) - Add "noImplicitAny": false to tsconfig.json to match rspack's config - This should help TypeScript resolve workspace dependencies correctly 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 674a5c8 commit 907475a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/rsbuild-plugin/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
},
3232
"main": "./dist/index.cjs.js",
3333
"module": "./dist/index.esm.mjs",
34+
"types": "./dist/index.cjs.d.ts",
3435
"typesVersions": {
3536
"*": {
3637
".": [

packages/rsbuild-plugin/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"esModuleInterop": true,
1414
"skipLibCheck": true,
1515
"skipDefaultLibCheck": true,
16-
"declaration": true
16+
"declaration": true,
17+
"noImplicitAny": false
1718
},
1819
"files": [],
1920
"include": [],

0 commit comments

Comments
 (0)