【文件属性】:
文件名称:gulp-module:具有名称空间和直接执行支持的Gulp模块
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-12 22:45:28
JavaScript
口香糖模块
Gulp支持具有名称空间的子模块并直接执行子模块。
安装
npm install --save-dev gulp-module
重要信息:每个模块都需要在本地安装gulp-module。
示例项目结构
project/ -
gulpfile.js
(...)
module/ -
gulpfile.js
(...)
模块定义
module . exports = require ( 'gulp-module' ) . define ( 'moduleName' , function ( gulp , runSequence ) {
// Regular gulpfile here.
// Do not re-import gulp or runSequence, use the arguments instead.
// Use regu
【文件预览】:
gulp-module-master
----.gitignore(13B)
----package.json(779B)
----LICENSE(1KB)
----index.js(4KB)
----README.md(3KB)