mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Switch to esbuild for bundling (#479)
* Switch to esbuild for bundling * add changeset
This commit is contained in:
+2
-2
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user