aym-gulp
v1.0.4
Published
aiyoumi front gulp task
Downloads
2
Readme
爱又米前端gulp公共任务
## 安装
$ anpm i aym-gulp --save
或者
$ yarn add aym-gulp
使用
var config = {
evr: false,
assets: {
'js': './src/js/**/*.js',
'html': './src/pages/**/*.html',
'img': './src/images/**/*',
'scss': './src/scss/**/*.scss',
'css': './src/css/**/*.css'
},
options: {
usejsmin: false,
hasRjs: true
},
output: {
remote: gulpconfig.remote,
dist: {
img: distPath + '/images',
css: distPath + '/css',
js: distPath + '/js',
html: distPath + '/html'
},
oauthRemote:gulpconfig.oauthRemote,
local: gulpconfig.local || './src/pages'
},
rjsConfigPath: path.join(__dirname + '/config/rjsConfig.js')
};
var task = require('aym-gulp')(config, gulp);