javascript - How to create a source map for my compiled JS files with mincer? -


i want compile coffeescript files 1 js file using mincer , gulp. have app.coffee file requires other files. gulp task uses gulp-mincer , looks that:

var gulp = require('gulp'); var mincer = require('mincer'); var mince = require('gulp-mincer');  gulp.task('mincer', function(){   var env = new mincer.environment();   env.enable('source_maps');   env.appendpath('src/coffee');    return gulp.src('src/coffee/**/app.*')     .pipe(mince(env))     .pipe(gulp.dest('public/js')); }); 

if run task 1 js file required code in no source map. have source map file?


Comments

Popular posts from this blog

Upgrade php version of xampp not success -

amazon web services - S3 and apache mod_proxy with basic authentication -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -