Skip to content

Commit e74827a

Browse files
committed
chore: worksapce:*
1 parent cc1de91 commit e74827a

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

examples/with-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@types/node": "^20.11.28",
2222
"@types/react": "^19.1.8",
2323
"@types/react-dom": "^19.1.6",
24-
"rsbuild-plugin-web-extension": "0.0.10",
24+
"rsbuild-plugin-web-extension": "workspace:*",
2525
"tsup": "8.5.0",
2626
"typescript": "5.8.3"
2727
}

packages/rsbuild-plugin-web-extension/package.json

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,19 @@
33
"description": "rsbuild plugin for chrome/web extension",
44
"homepage": "https://github.com/filc-dev/rsbuild-plugin-web-extension",
55
"version": "0.0.10",
6-
"main": "./dist/index.js",
7-
"module": "./dist/index.mjs",
8-
"types": "./dist/index.d.ts",
9-
"exports": {
10-
".": {
11-
"types": "./dist/index.d.ts",
12-
"import": "./dist/index.js",
13-
"require": "./dist/index.cjs"
6+
"source": "./src/index.ts",
7+
"main": "./src/index.ts",
8+
"module": "./src/index.ts",
9+
"publishConfig": {
10+
"main": "./dist/index.js",
11+
"module": "./dist/index.js",
12+
"types": "./dist/index.d.ts",
13+
"exports": {
14+
".": {
15+
"types": "./dist/index.d.ts",
16+
"import": "./dist/index.js",
17+
"require": "./dist/index.cjs"
18+
}
1419
}
1520
},
1621
"files": [

0 commit comments

Comments
 (0)