gfranko / amdclean

A build tool that converts AMD code to standard JavaScript
http://gregfranko.com/amdclean/
MIT License
449 stars 36 forks source link

sourceMaps #79

Open ooxi opened 9 years ago

ooxi commented 9 years ago

Hi,

could you please elaborate how to use sourceMaps in combination with amdclean? The output of amdclean remains a plain string independent of the sourceMap I input. I've read some other tickets where esprima options are required. A tutorial / working example would be highly appreciated!

esperancaJS commented 9 years ago

It would be great to understand how to generate source maps when combined with grunt-require.js also

gfranko commented 9 years ago

cc: @kirill-konshin

kirill-konshin commented 9 years ago

Please read appropriate section of README.md: I'd like to use source map support. What to do? (at the very bottom).

ooxi commented 9 years ago

Since that chapter was already present in decemter 2014 (4611658b6cbb9b84016340f7c9bc3d3f75e41448) I guess I just did not see it or it did not work for my. I'll try again, thanks :)