eser / sey

[Deprecated] Simple JavaScript build tool with declarative and easy configuration
Other
49 stars 1 forks source link

API config variables #19

Closed eser closed 8 years ago

eser commented 8 years ago
let config = new sey.config();

// turn off globally
config.bundle('global')
    .set({ eslint: { useEslintrc: false } });

// turn on for main bundle
config.bundle('main')
    .set({ eslint: { useEslintrc: true } });

config.bundle('main')
    .src('./src/**/*.js')
    .eolfix()
    .lint()
    .babel()
    .dest('./dist/js/')
    .exec();