Skip to content

Commit f9d67d2

Browse files
authored
build: migrate to rspack (#404)
1 parent 6404427 commit f9d67d2

File tree

4 files changed

+1713
-389
lines changed

4 files changed

+1713
-389
lines changed

package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@
4949
],
5050
"scripts": {
5151
"bench": "node test/bench.mjs && deno -A test/bench.mjs && bun --bun test/bench.mjs",
52-
"build": "pnpm clean && NODE_ENV=production pnpm webpack",
52+
"build": "pnpm clean && pnpm rspack",
5353
"clean": "rm -rf dist",
54-
"dev": "pnpm clean && pnpm webpack --watch",
54+
"dev": "pnpm clean && pnpm rspack --watch",
5555
"jiti": "JITI_DEBUG=1 JITI_JSX=1 lib/jiti-cli.mjs",
5656
"lint": "eslint . && prettier -c src lib test stubs",
5757
"lint:fix": "eslint --fix . && prettier -w src lib test stubs",
@@ -83,6 +83,8 @@
8383
"@babel/template": "^7.27.2",
8484
"@babel/traverse": "^7.28.4",
8585
"@babel/types": "^7.28.4",
86+
"@rspack/cli": "^1.5.5",
87+
"@rspack/core": "^1.5.6",
8688
"@types/babel__core": "^7.20.5",
8789
"@types/babel__helper-module-imports": "^7.18.3",
8890
"@types/babel__helper-plugin-utils": "^7.10.3",
@@ -118,16 +120,11 @@
118120
"reflect-metadata": "^0.2.2",
119121
"solid-js": "^1.9.9",
120122
"std-env": "^3.9.0",
121-
"terser-webpack-plugin": "^5.3.14",
122123
"tinyexec": "^1.0.1",
123124
"ts-loader": "^9.5.4",
124125
"typescript": "^5.9.2",
125126
"vitest": "^3.2.4",
126127
"vue": "^3.5.21",
127-
"webpack": "^5.101.3",
128-
"webpack-bundle-analyzer": "^4.10.2",
129-
"webpack-cli": "^6.0.1",
130-
"webpack-license-plugin": "^4.5.1",
131128
"yoctocolors": "^2.1.2",
132129
"zod": "^4.1.11"
133130
},

0 commit comments

Comments
 (0)