build: remove dist before building

pull/1/head
Evan You 5 years ago
parent 2602fc5e12
commit 6d7b0672fe

@ -27,7 +27,7 @@
"homepage": "https://github.com/vuejs/vitepress/tree/master/#readme", "homepage": "https://github.com/vuejs/vitepress/tree/master/#readme",
"scripts": { "scripts": {
"dev": "tsc -w -p src", "dev": "tsc -w -p src",
"build": "tsc -p src", "build": "rm -rf dist && tsc -p src",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"prepublishOnly": "yarn build && yarn changelog" "prepublishOnly": "yarn build && yarn changelog"
}, },

Loading…
Cancel
Save