Commit 622627c6 authored by rockyl's avatar rockyl

修改compile:单次编译项目,dev:实时编译项目,build:发布构建项目

parent 76d34f28
Pipeline #82477 failed with stages
in 0 seconds
...@@ -10,11 +10,11 @@ exports.dev = function(){ ...@@ -10,11 +10,11 @@ exports.dev = function(){
return runGulp('dev'); return runGulp('dev');
}; };
exports.build = function(){ exports.compile = function(){
return runGulp('build'); return runGulp('compile');
}; };
exports.publish = async function(){ exports.build = async function(){
const result = await runGulp('publish'); const result = await runGulp('publish');
console.log(result); console.log(result);
return result; return result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment