CoffeeScriptRedux icon indicating copy to clipboard operation
CoffeeScriptRedux copied to clipboard

Ability to generate an AMD module with a source map

Open TobiaszCudnik opened this issue 13 years ago • 1 comments

I would like to be able to generate an AMD module with a source map, just like TypeScript compiler does.

Justification: easy debugging in a browser.

I understand i can be out of your roadmap, but please consider. Thanks.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

TobiaszCudnik avatar Oct 24 '12 21:10 TobiaszCudnik

Use browserify with the coffeeify transform. This will allow you to bundle all your files with sourcemaps preserved and allows debugging the original coffee script.

Working Demo.

This is compiled with the main coffee script compiler (redux failed to compile all coffee scripts in that project).

In order to use the redux compiler, you can use the coffeeify-redux transform with browserify instead.

thlorenz avatar Mar 17 '13 16:03 thlorenz