Switch to bundling with Rollup (#495)

This commit is contained in:
Mateusz Burzyński
2025-05-16 12:25:02 +02:00
committed by GitHub
parent 5078b4b48b
commit 1ae3a21f70
3 changed files with 257 additions and 7 deletions
+7 -1
View File
@@ -8,17 +8,23 @@
"@changesets/changelog-github": "^0.5.1",
"@changesets/cli": "^2.29.3",
"@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": "^22.15.17",
"@types/semver": "^7.5.0",
"builtin-modules": "^5.0.0",
"esbuild": "^0.25.4",
"fixturez": "^1.1.0",
"husky": "^3.0.3",
"prettier": "^2.0.5",
"rollup": "^4.40.2",
"typescript": "^5.8.3",
"vitest": "^3.1.3"
},
"scripts": {
"build": "esbuild src/index.ts --bundle --platform=node --target=node20 --format=esm --minify --outfile=dist/index.js",
"build": "rollup -c",
"test": "vitest",
"test:watch": "yarn test --watch",
"typecheck": "tsc",