chore(use): remove dist when build

This commit is contained in:
chenjiahan
2020-09-13 09:43:20 +08:00
parent ed536d353d
commit 0ce48b9239
3 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -8,7 +8,8 @@
"sideEffects": false,
"scripts": {
"dev": "tsc -m esNext --outDir es --watch",
"build": "tsc && tsc -m esNext --outDir es",
"clean": "rm -rf ./es && rm -rf ./lib",
"build": "yarn clean && tsc && tsc -m esNext --outDir es",
"release": "yarn build && release-it"
},
"publishConfig": {