Skip to content

Commit 9d6021d

Browse files
fix single runtime for rspack
1 parent 0f39b06 commit 9d6021d

File tree

10 files changed

+51062
-58281
lines changed

10 files changed

+51062
-58281
lines changed

comprehensive-demo-react18/app-01/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"@babel/core": "^7.23.2",
88
"@babel/preset-react": "^7.22.15",
99
"@material-ui/core": "^4.12.4",
10-
"@rspack/cli": "0.6.5",
11-
"@rspack/core": "0.6.5",
12-
"@rspack/dev-server": "0.6.5",
10+
"@rspack/cli": "0.7.1",
11+
"@rspack/core": "0.7.1",
12+
"@rspack/dev-server": "0.7.1",
1313
"babel-loader": "^9.1.3",
1414
"html-webpack-plugin": "^5.6.0",
1515
"markdown-to-jsx": "^7.3.2",
@@ -22,7 +22,7 @@
2222
},
2323
"scripts": {
2424
"build": "cross-env NODE_ENV=production rspack build --mode production",
25-
"legacy:build": "cross-env NODE_ENV=production webpack --mode production --stats none",
25+
"legacy:build": "cross-env NODE_ENV=production webpack --mode production --stats minimal",
2626
"start": "rspack --watch",
2727
"legacy:start": "webpack",
2828
"dev": "rspack serve",
@@ -35,8 +35,8 @@
3535
"@module-federation/runtime": "0.1.18",
3636
"@module-federation/sdk": "0.1.15",
3737
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
38-
"@rspack/plugin-react-refresh": "0.6.5",
38+
"@rspack/plugin-react-refresh": "0.7.1",
3939
"raw-loader": "4.0.2",
4040
"react-refresh": "0.14.0"
4141
}
42-
}
42+
}

comprehensive-demo-react18/app-02/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"@babel/preset-react": "^7.22.15",
99
"@material-ui/core": "^4.12.4",
1010
"@module-federation/enhanced": "0.1.15",
11-
"@rspack/cli": "0.6.5",
12-
"@rspack/core": "0.6.5",
13-
"@rspack/dev-server": "0.6.5",
11+
"@rspack/cli": "0.7.1",
12+
"@rspack/core": "0.7.1",
13+
"@rspack/dev-server": "0.7.1",
1414
"babel-loader": "^9.1.3",
1515
"html-webpack-plugin": "^5.6.0",
1616
"react": "18.2.0",
@@ -21,17 +21,17 @@
2121
"webpack-cli": "^5.1.4"
2222
},
2323
"devDependencies": {
24-
"@rspack/plugin-react-refresh": "0.6.5",
24+
"@rspack/plugin-react-refresh": "0.7.1",
2525
"react-refresh": "0.14.0"
2626
},
2727
"scripts": {
2828
"build": "cross-env NODE_ENV=production rspack build --mode production",
29-
"legacy:build": "cross-env NODE_ENV=production webpack --mode production --stats none",
29+
"legacy:build": "cross-env NODE_ENV=production webpack --mode production --stats minimal",
3030
"start": "rspack cross-env NODE_ENV=production --watch",
3131
"legacy:start": "webpack --watch",
3232
"dev": "rspack serve",
3333
"legacy:dev": "webpack serve --port=3002",
3434
"serve": "serve dist -p 3002",
3535
"clean": "rm -rf dist"
3636
}
37-
}
37+
}

comprehensive-demo-react18/app-02/rspack.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ module.exports = {
5858
},
5959
experiments: {
6060
css: true,
61-
rspackFuture: {
62-
disableTransformByDefault: true,
63-
},
6461
},
6562

6663
plugins: [

comprehensive-demo-react18/app-03/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"@babel/core": "^7.23.2",
88
"@babel/preset-react": "^7.22.15",
99
"@module-federation/enhanced": "0.1.15",
10-
"@rspack/cli": "0.6.5",
11-
"@rspack/core": "0.6.5",
12-
"@rspack/dev-server": "0.6.5",
10+
"@rspack/cli": "0.7.1",
11+
"@rspack/core": "0.7.1",
12+
"@rspack/dev-server": "0.7.1",
1313
"babel-loader": "^9.1.3",
1414
"html-webpack-plugin": "^5.6.0",
1515
"react": "18.2.0",
@@ -21,7 +21,7 @@
2121
},
2222
"scripts": {
2323
"build": "cross-env NODE_ENV=production rspack build --mode production",
24-
"legacy:build": "cross-env NODE_ENV=production webpack --mode production --stats none",
24+
"legacy:build": "cross-env NODE_ENV=production webpack --mode production --stats minimal",
2525
"start": "rspack serve",
2626
"legacy:start": "webpack --watch",
2727
"dev": "rspack serve",
@@ -33,4 +33,4 @@
3333
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
3434
"react-refresh": "0.14.0"
3535
}
36-
}
36+
}

comprehensive-demo-react18/app-04/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"devDependencies": {
77
"@module-federation/enhanced": "0.1.15",
88
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
9-
"@rspack/cli": "0.6.5",
10-
"@rspack/core": "0.6.5",
11-
"@rspack/dev-server": "0.6.5",
9+
"@rspack/cli": "0.7.1",
10+
"@rspack/core": "0.7.1",
11+
"@rspack/dev-server": "0.7.1",
1212
"cross-env": "7.0.3",
1313
"css-loader": "6.11.0",
1414
"html-webpack-plugin": "5.6.0",
@@ -32,4 +32,4 @@
3232
"serve": "serve public -p 3004",
3333
"clean": "rm -rf dist"
3434
}
35-
}
35+
}

comprehensive-demo-react18/app-05/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
"devDependencies": {
1717
"@module-federation/enhanced": "0.1.15",
1818
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
19-
"@rspack/cli": "0.6.5",
20-
"@rspack/core": "0.6.5",
21-
"@rspack/dev-server": "0.6.5",
19+
"@rspack/cli": "0.7.1",
20+
"@rspack/core": "0.7.1",
21+
"@rspack/dev-server": "0.7.1",
2222
"cross-env": "7.0.3",
2323
"html-webpack-plugin": "5.6.0",
2424
"lit-element": "2.5.1",
@@ -30,4 +30,4 @@
3030
"webpack-cli": "5.1.4",
3131
"webpack-dev-server": "4.15.2"
3232
}
33-
}
33+
}

0 commit comments

Comments
 (0)