Create a gulpfile
Using your text editor, create a file named gulpfile.js in your project root with these contents:
function defaultTask(cb) {
// place code for your default task here
cb();
}
exports.default = defaultTask
具体可以查看对应的英文官网 https://gulpjs.com/docs/en/getting-started/quick-start