How to use the browserify.default function in browserify

To help you get started, we’ve selected a few browserify examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mindrones / timely-dependency-graph / gulp / tasks / logic.js View on Github external
gulp.task('logic', () => {
    return browserify('./src/viz/logic/index.js')
    .pipe( preprocess({ context: {PRODUCTION: opts.p} }) )
    .pipe(gulpif(opts.p, uglify({preserveComments: 'license'})))
    .on('error', gutil.log)