aym-gulp

1.0.4 • Public • Published

爱又米前端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);

Readme

Keywords

Package Sidebar

Install

npm i aym-gulp

Weekly Downloads

1

Version

1.0.4

License

ISC

Last publish

Collaborators

  • dotview