Skip to content

Commit d33f6e8

Browse files
Update "@rspack/core" and "@rspack/dev-server" versions (#3512)
* Update "@rspack/core" and "@rspack/dev-server" versions Updated the versions of "@rspack/core" and "@rspack/dev-server" in several package.json files. The new version improves performance and provides additional features. These updates keep the project up-to-date with the latest development practices. * update rspack * Add local webpack and setup rspack for development in NextJs and React apps This commit introduces rspack in the build and dev scripts of NextJs and React apps, replacing webpack-cli. We've added the NEXT_PRIVATE_LOCAL_WEBPACK environment variable in our build and dev scripts for enabling local webpack. In the React app, a new rspack.config.js file has been created for configuring the newly introduced rspack. * locks * Update consumers-react compatibility status Changed the status of compatibility for consumers-react with rspack from not compatible to compatible. This update in the documentation reflects the recent updates and improvements made in the compatibility of the consumers-react with rspack. * Update consumers-react compatibility status Changed the status of compatibility for consumers-react with rspack from not compatible to compatible. This update in the documentation reflects the recent updates and improvements made in the compatibility of the consumers-react with rspack. * Add extensions resolution to rspack.config.js Added resolve property with extensions ['.ts', '.tsx', '.js'] to the configuration files of both app1 and app2. This allows for the resolution of TypeScript files and JavaScript files in the rspack module bundler, enhancing compatibility and flexibility. * Update RemoteButton import path in Components.tsx Changed the import path for RemoteButton in Components.tsx. Instead of 'app2/NoLongerWorks', the code now imports from 'app2/Button', ensuring efficient loading and operation of the Button component in the application. * l * locks --------- Co-authored-by: ScriptedAlchemy <zackaryjackson@bytedance.com>
1 parent 61a7a89 commit d33f6e8

File tree

74 files changed

+1701
-1496
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+1701
-1496
lines changed

advanced-api/automatic-vendor-sharing/app1/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"babel-loader": "9.1.3",
88
"html-webpack-plugin": "5.6.0",
99
"serve": "14.2.1",
10-
"@rspack/core": "^0.4.5",
10+
"@rspack/core": "^0.5.0",
1111
"@rspack/cli": "^0.5.0",
12-
"@rspack/dev-server": "^0.4.5",
12+
"@rspack/dev-server": "^0.5.0",
1313
"webpack": "5.89.0",
1414
"webpack-cli": "^5.1.4",
1515
"webpack-dev-server": "^4.15.1"

advanced-api/automatic-vendor-sharing/app2/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"babel-loader": "9.1.3",
88
"html-webpack-plugin": "5.6.0",
99
"serve": "14.2.1",
10-
"@rspack/core": "^0.4.5",
10+
"@rspack/core": "^0.5.0",
1111
"@rspack/cli": "^0.5.0",
12-
"@rspack/dev-server": "^0.4.5",
12+
"@rspack/dev-server": "^0.5.0",
1313
"webpack": "5.89.0",
1414
"webpack-cli": "^5.1.4",
1515
"webpack-dev-server": "^4.15.1"

advanced-api/dynamic-remotes-runtime-environment-variables/host/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"webpack": "5.89.0",
1212
"webpack-cli": "5.1.4",
1313
"webpack-dev-server": "4.15.1",
14-
"@rspack/core": "^0.4.5",
14+
"@rspack/core": "^0.5.0",
1515
"@rspack/cli": "^0.5.0",
16-
"@rspack/dev-server": "^0.4.5"
16+
"@rspack/dev-server": "^0.5.0"
1717
},
1818
"scripts": {
1919
"start": "chmod +x ./env.sh && cp env-config.json ./public/ && rspack serve",

advanced-api/dynamic-remotes-runtime-environment-variables/remote/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"webpack": "5.89.0",
1111
"webpack-cli": "5.1.4",
1212
"webpack-dev-server": "4.15.1",
13-
"@rspack/core": "^0.4.5",
13+
"@rspack/core": "^0.5.0",
1414
"@rspack/cli": "^0.5.0",
15-
"@rspack/dev-server": "^0.4.5"
15+
"@rspack/dev-server": "^0.5.0"
1616
},
1717
"scripts": {
1818
"start": "chmod +x ./env.sh && cp env-config.json ./public/ && rspack serve",

0 commit comments

Comments
 (0)