diff --git a/build-tools/gulpfile.js b/build-tools/gulpfile.js index 41d14a57..55089f24 100644 --- a/build-tools/gulpfile.js +++ b/build-tools/gulpfile.js @@ -332,7 +332,7 @@ const iconsVueTask = series( ); // gulp4之前, 定义任务的方式 -gulp.task('all', series(iconsSvgTask, iconsVueTask)); +gulp.task('allTask', series(iconsSvgTask, iconsVueTask)); // gulp4定义任务的方式 module.exports = { diff --git a/package.json b/package.json index b0d1435a..61a55726 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "changelog": "conventional-changelog -p eslint -i CHANGELOG.md -s", "changelog:first": "conventional-changelog -p eslint -i CHANGELOG.md -s -r 0", "commit": "cz", - "compile:dist": "gulp -f ./build-tools/gulpfile.js --series distTask", + "compile:all": "gulp -f ./build-tools/gulpfile.js allTask", "compile:svg": "gulp -f ./build-tools/gulpfile.js iconsSvgTask", "compile:vue": "gulp -f ./build-tools/gulpfile.js iconsVueTask", "dev": "webpack serve --config ./build-tools/webpack/webpack.common.js --env development",