clean before build

This commit is contained in:
MapleLeaf
2021-12-09 04:11:11 -06:00
parent 902ef73321
commit f43ea6269a

View File

@@ -11,7 +11,7 @@
"require": "./dist/main.cjs"
},
"scripts": {
"build": "tsup-node src/main.ts --target node16 --format cjs,esm --dts",
"build": "tsup-node src/main.ts --clean --target node16 --format cjs,esm --dts",
"test": "c8 ava",
"lint": "eslint --ext js,ts,tsx .",
"lint-fix": "npm run lint -- --fix",