Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.3 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.3 KB

gulpzilla

Gulpzilla adds gulp [commands] to your gulp setup.

In packages, we have include:

Refer to each individual gulpzilla-[setup] package to see what it enables.

Install

$ npm install gulpzilla --save-dev   

Usage

Add this in your gulpfile.js:

var gulp = require('gulpzilla')({

	/* enable/disable debug mode for browserify */
	debug: process.env.NODE_ENV !== 'production',

	/* `browserify` configuration  
	browserify: {
        srcDir: './src/js', // javascript source directory
        target: './src/js/index.js', // entry point for browserify

        distDir: './public/js', // directory for bundled javascript
        distFilename: 'bundle.js' // filename for bundled javascript
    }
    
    /* more configuration for additional setup: gulpzilla-[setup] */
});

Run the gulp setup:

$ gulp browserify