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())