Build: Gulp+Browserify+Uglify
Opinionated set of Gulp tasks that:
- build stuff with browserify
- put the result in
dist
directory - compress the result with Uglify and also place it in
dist
directory
How to install
npm install --save-dev build-gbu
How to use
require('build-gbu')(
'index.js',
'project_name',
'project-name.browser',
'ignore-dependency',
require('gulp')
)
This will provide following gulp tasks:
- build: clean, browserify, minify
- browserify: clean
- clean
- minify: browserify
Contribution
Feel free to create issues and send pull requests (for big changes create an issue first and link it from the PR), they are highly appreciated!
License
Free Public License 1.0.0 / Zero Clause BSD License
https://opensource.org/licenses/FPL-1.0.0
https://tldrlegal.com/license/bsd-0-clause-license