feds-build-webpack
v0.0.8
Published
> Gulp task for processing Javascript
Downloads
2
Readme
feds-build-javascript
Gulp task for processing Javascript
Install
$ npm install --save feds-build-javascript
Usage
gulpfile.js
var gulp = require('gulp')
var partial = require('lodash.partial')
var scriptsFn = require('feds-build-javascript').scriptsCompile
var scriptsOpts = require('./config/config-scripts')
gulp.task('scripts', partial(scriptsFn, gulp, scriptsOpts))
return gulp
API
scriptsCompile
CLI modifiers
--production
produces minified and optimized output--watch
watch sources and rebuild on change/addition
gulp
Type: Gulp
Instance of Gulp
options
webpack
Webpack config
Type: object
Default: {}
License
MIT © Viktor Bezděk