diff --git a/package.json b/package.json index 8d9913a..3f67558 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "format:write": "npx prettier --write .", "format:check": "npx prettier --check .", "lint": "npx eslint .", - "package": "npx rollup --config rollup.config.js", + "package": "npx rimraf ./dist && npx rollup --config rollup.config.js", "package:watch": "npm run package -- --watch", "test": "NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 npx jest", "all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"