From bf0d3910a40a2b2278fbf665abe70a1e0ba30bc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Tue, 17 Apr 2018 15:24:19 +0800 Subject: [PATCH] [bugfix] duplicate icon-font file in css dist dir --- packages/vant-css/gulpfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/vant-css/gulpfile.js b/packages/vant-css/gulpfile.js index 2c4f6bfda..1f6273ac7 100644 --- a/packages/vant-css/gulpfile.js +++ b/packages/vant-css/gulpfile.js @@ -14,6 +14,7 @@ const resolve = relativePath => path.resolve(__dirname, relativePath); // compile component css gulp.task('compile', () => { + fs.emptyDirSync('./lib'); return gulp .src('./src/*.css') .pipe(postcss())