Use rolldown for bundling (#621)

* Use rolldown for bundling

* update vite

---------

Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
This commit is contained in:
Bjorn Lu
2026-05-15 19:01:37 +00:00
committed by GitHub
co-authored by Mateusz Burzyński
parent 6c80731937
commit c13a48983a
5 changed files with 252 additions and 1372 deletions
+3 -9
View File
@@ -5,7 +5,7 @@
"type": "module",
"main": "dist/index.js",
"scripts": {
"build": "rollup -c",
"build": "rolldown -c",
"test": "vitest",
"test:watch": "pnpm test --watch",
"typecheck": "tsc",
@@ -38,19 +38,13 @@
"@changesets/cli": "^2.29.3",
"@changesets/types": "^6.1.0",
"@changesets/write": "^0.4.0",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@types/node": "^24.12.2",
"@types/semver": "^7.5.0",
"builtin-modules": "^5.0.0",
"esbuild": "^0.25.4",
"fixturez": "^1.1.0",
"oxfmt": "^0.48.0",
"rollup": "^4.40.2",
"rolldown": "^1.0.1",
"typescript": "^5.8.3",
"vitest": "^4.1.5"
"vitest": "^4.1.6"
},
"engines": {
"node": ">=24"