Skip to content

Commit 180cc22

Browse files
committed
fix: ensure dist directory is cleared before packaging
1 parent 683df1d commit 180cc22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"format:check": "npx prettier --check .",
3131
"lint": "npx eslint .",
3232
"local-action": "npx @github/local-action . src/main.ts .env",
33-
"package": "npx rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
33+
"package": "rm -rf ./dist && npx rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
3434
"package:watch": "npm run package -- --watch",
3535
"test": "NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 npx jest",
3636
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"

0 commit comments

Comments
 (0)