I’m using grunt-contrib-coffee to compile the following:
- src
- coffee
- test1.coffee
- test2.coffee
- test3.coffee
- coffee
into:
- dist
- js
- concated.js
- concated.js.map
- js
This works, but the problem is that a third file is generated in dist/js called “concated.src.coffee”, this is the file that concated.js.map references. This is of no use to me, when i debug in the browser i want the sourcemap to reference the original files, not a concated coffee file.
My grunt coffee config:
module.exports =
compileWithMaps:
options:
sourceMap: true
files: 'dist/js/concated.js': 'src/coffee/*.coffee’
Any thoughts on how to make the sourcemap reference original files, not a generated concated coffee file?