Skip to content

Commit 0fdef3b

Browse files
committed
Replace webpack with rsbuild
1 parent a3047e5 commit 0fdef3b

7 files changed

+242
-1895
lines changed

index.html

-24
This file was deleted.

package.json

+5-18
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"scripts": {
3-
"build": "webpack --mode=production --progress",
4-
"dev": "webpack-dev-server",
3+
"build": "rsbuild build",
4+
"dev": "rsbuild dev",
55
"test": "prettier --check .",
66
"fmt": "prettier --write ."
77
},
@@ -33,22 +33,9 @@
3333
"styletron-react": "^5.2.7"
3434
},
3535
"devDependencies": {
36-
"@babel/core": "^7.26.10",
37-
"@babel/plugin-proposal-class-properties": "^7.18.6",
38-
"@babel/preset-env": "^7.26.9",
39-
"@babel/preset-react": "^7.26.3",
40-
"@emotion/babel-plugin": "^11.13.5",
41-
"babel-loader": "^8.4.1",
42-
"babel-plugin-emotion": "^10.2.2",
43-
"babel-plugin-react-native-web": "0.13.8",
44-
"babel-plugin-styled-components": "^1.13.3",
45-
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
46-
"css-loader": "^4.3.0",
47-
"prettier": "^2.8.8",
48-
"style-loader": "^1.3.0",
49-
"webpack": "^5.98.0",
50-
"webpack-cli": "^4.10.0",
51-
"webpack-dev-server": "^4.15.2"
36+
"@rsbuild/core": "^1.2.18",
37+
"@rsbuild/plugin-react": "^1.1.1",
38+
"prettier": "^2.8.8"
5239
},
5340
"prettier": {
5441
"arrowParens": "avoid",

0 commit comments

Comments
 (0)