Skip to content

Commit 82511cc

Browse files
author
nyqykk
committed
chore: change rsbuild plugin to dev dep
1 parent e470fc4 commit 82511cc

File tree

4 files changed

+12
-15
lines changed

4 files changed

+12
-15
lines changed

examples/module-federation/mf-host/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"preview": "rsbuild preview"
99
},
1010
"dependencies": {
11-
"@module-federation/rsbuild-plugin": "0.0.2",
1211
"react": "^18.3.1",
1312
"react-dom": "^18.3.1"
1413
},
1514
"devDependencies": {
15+
"@module-federation/rsbuild-plugin": "0.0.2",
1616
"@rsbuild/core": "^1.0.14",
1717
"@rsbuild/plugin-react": "^1.0.4",
1818
"@types/react": "^18.3.11",

examples/module-federation/mf-react-component/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@
1515
"build": "rslib build",
1616
"serve": "pnpm build && http-server -p 3001 ./dist/ --cors"
1717
},
18-
"dependencies": {
19-
"@module-federation/rsbuild-plugin": "0.0.2"
20-
},
2118
"devDependencies": {
2219
"@module-federation/enhanced": "^0.6.11",
20+
"@module-federation/rsbuild-plugin": "0.0.2",
2321
"@rsbuild/plugin-react": "^1.0.4",
2422
"@rslib/core": "workspace:*",
2523
"@types/react": "^18.3.11",

examples/module-federation/mf-remote/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"preview": "rsbuild preview"
99
},
1010
"dependencies": {
11-
"@module-federation/rsbuild-plugin": "0.0.2",
1211
"react": "^18.3.1",
1312
"react-dom": "^18.3.1"
1413
},
1514
"devDependencies": {
15+
"@module-federation/rsbuild-plugin": "0.0.2",
1616
"@rsbuild/core": "^1.0.14",
1717
"@rsbuild/plugin-react": "^1.0.4",
1818
"@types/react": "^18.3.11",

pnpm-lock.yaml

Lines changed: 9 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)