Switch to esbuild for bundling (#479)

* Switch to esbuild for bundling

* add changeset
This commit is contained in:
Mateusz Burzyński
2025-05-11 20:55:50 +02:00
committed by GitHub
parent ad037f48d0
commit cf373e45c9
3 changed files with 163 additions and 7 deletions
+2 -2
View File
@@ -14,8 +14,8 @@
"@types/jest": "^29.5.1",
"@types/node": "^22.15.17",
"@types/semver": "^7.5.0",
"@vercel/ncc": "^0.36.1",
"babel-jest": "^29.5.0",
"esbuild": "^0.25.4",
"fixturez": "^1.1.0",
"husky": "^3.0.3",
"jest": "^29.5.0",
@@ -23,7 +23,7 @@
"typescript": "^5.8.3"
},
"scripts": {
"build": "ncc build src/index.ts -o dist --transpile-only --minify",
"build": "esbuild src/index.ts --bundle --platform=node --target=node20 --minify --outfile=dist/index.js",
"test": "jest",
"test:watch": "yarn test --watch",
"typecheck": "tsc",