How do I enable source maps? I'm doing this:
var browserify = require("gulp-browserify")
gulp.task("compile:client", function() {
gulp.src("src/client/app.coffee", {
read: false
})
.pipe(browserify({
debug: true // THIS DOES NOTHING :(
transform: ['coffeeify'],
extensions: ['.coffee']
}))
.pipe(rename('app.js'));
});
Ouch... for some reason on the github page for gulp-browserify it says: PLUGIN IS BLACKLISTED.
I don't get it... how the heck I'm suppose to use browserify with my coffeescript files then?
UPD: Ha! I was wrong: debug
option works. It just sticks source maps info right there into the output javascript file. Awesome. Still the question remains open: why this plugin in blacklisted?