Skip to content

Commit db53db8

Browse files
authored
NPM: Recreate dist/ directory from scratch every time (#227)
1 parent 85b0291 commit db53db8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"yargs": "^15.3.1"
6262
},
6363
"scripts": {
64-
"prepublishOnly": "npm run build && cp -R build dist",
64+
"prepublishOnly": "npm run build && rm -rf dist && cp -R build dist",
6565
"build": "npm run compile && npm run flatten && npm run abi:extract && npm run typechain",
6666
"clean": "rm -rf build/ cache/",
6767
"compile": "buidler compile",

0 commit comments

Comments
 (0)