gulp-browserify icon indicating copy to clipboard operation
gulp-browserify copied to clipboard

Gulp browserify fails silently?

Open richardvanbergen opened this issue 11 years ago • 1 comments

The test.js is in the same directory as my gulpfile.js but for some reason is isn't outputting to tmp.js. The file isn't created.

'use strict';

var _ = require('underscore');

var logUnderscoreVersion = function() {
    console.log(_.VERSION);
};

module.exports = logUnderscoreVersion;
gulp.task('browserify', function() {
    var production = gutil.env.type === 'production';

    gulp.src(['test.js'], {read: false})

        // Browserify, and add source maps if this isn't a production build
        .pipe(browserify({
            debug: true
        }))

        // Rename the destination file
        .pipe(rename('tmp.js'))

        // Output to the build directory
        .pipe(gulp.dest('./'));
});
$ gulp browserify
[gulp] Using gulpfile /home/richard/Code/enrichit-dev/gulpfile.js
[gulp] Starting 'browserify'...
[gulp] Finished 'browserify' after 5.88 ms

Any ideas?

richardvanbergen avatar Mar 24 '14 13:03 richardvanbergen

Sorry, I've just noticed that this plugin has been blacklisted... kind of sucks.

richardvanbergen avatar Mar 24 '14 14:03 richardvanbergen