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

View File

@ -55,7 +55,7 @@
"dependencies": {
"@babel/runtime": "7.x",
"@vant/icons": "1.3.0",
"@vant/use": "^0.0.1-alpha.1",
"@vant/use": "^0.0.1-alpha.2",
"vue-lazyload": "1.2.3"
},
"peerDependencies": {

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": {

View File

@ -2156,10 +2156,10 @@
resolved "https://registry.yarnpkg.com/@vant/touch-emulator/-/touch-emulator-1.2.0.tgz#486300b23e57db9ce9231a04e0a0c621c68692d8"
integrity sha512-sJ97zU85zOq51qoi7+CpBEcOyH3CitjP1KC7/GQwqaurUJni+EP7/F9n0HMnAh8GXMjgtgDBNJ5z48x+coNKYQ==
"@vant/use@^0.0.1-alpha.1":
version "0.0.1-alpha.1"
resolved "https://registry.npmjs.org/@vant/use/-/use-0.0.1-alpha.1.tgz#2c8242c86a75be7b9a3965f412c737b249906858"
integrity sha512-dtem5ThlklkoP4zs7BuLzwYgC6OxHsUH/Upme3ep426pfuF7nowlZvF/BnOA+v9ki5BHD48sXaeVhaEqtWC7Ig==
"@vant/use@^0.0.1-alpha.2":
version "0.0.1-alpha.2"
resolved "https://registry.npmjs.org/@vant/use/-/use-0.0.1-alpha.2.tgz#c7e3ffb948b871d2496ce1e32d0874c8ead4b69a"
integrity sha512-hOqjrvXgazw54bD1GZHXboKbcOc7jMZbDU3zFUOheSNviIvVBX0nuEqCdcQgvYzkr93zwQ2QAn27DA8BLCZsGw==
"@vue/babel-helper-vue-transform-on@^1.0.0-rc.2":
version "1.0.0-rc.2"