refactor: replace esbuild with rolldown

This commit is contained in:
2026-07-18 07:44:03 +02:00
parent 67c903d427
commit 37e649efc3
8 changed files with 1525 additions and 4593 deletions
+6 -7
View File
@@ -6,8 +6,8 @@
"main": "src/index.ts",
"scripts": {
"typecheck": "tsc --noEmit",
"build": "esbuild src/index.ts --bundle --outfile=dist/index.js --platform=node --target=node24 --minify",
"test": "jest",
"build": "rolldown -c",
"test": "vitest",
"format": "oxfmt",
"format:check": "oxfmt --check"
},
@@ -17,12 +17,11 @@
},
"devDependencies": {
"@types/conventional-commits-parser": "5.0.2",
"@types/jest": "30.0.0",
"@types/node": "24.13.2",
"esbuild": "0.28.1",
"jest": "30.4.2",
"@vitest/coverage-v8": "4.1.10",
"oxfmt": "0.59.0",
"ts-jest": "29.4.11",
"typescript": "5.9.3"
"rolldown": "1.2.0",
"typescript": "5.9.3",
"vitest": "4.1.10"
}
}