You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
Any ideas?
The text was updated successfully, but these errors were encountered: