Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gulp browserify fails silently? #66

Open
richardvanbergen opened this issue Mar 24, 2014 · 1 comment
Open

Gulp browserify fails silently? #66

richardvanbergen opened this issue Mar 24, 2014 · 1 comment

Comments

@richardvanbergen
Copy link

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 richardvanbergen changed the title Gulp browserfy fails silently? Gulp browserify fails silently? Mar 24, 2014
@richardvanbergen
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant