spine / hem

Bundler for Node/CommonJS/Web Apps
MIT License
281 stars 71 forks source link

debug mode doesn't work? #61

Closed dmitkataev closed 11 years ago

dmitkataev commented 11 years ago

I've been trying many times to use -d option to be able to work with debug mode, but it seems not working. I expect that debug mode turns on sourceUrl making possible to see in debugger a list of sources, but not the only one result file.

aeischeid commented 11 years ago

what version are you using? I am a little unclear on what you mean exactly. debug mostly just prevents the uglification of the content in the output js. and the minification of css.

dmitkataev commented 11 years ago

i use version0_2. I thought -d option supports sourceUrl, but you said that it just prevents uglification. So i think it's not an issue. Do you plan to support sourceUrl and sourceMap (for coffeescript with CoffeeScriptRedux compiler) in nearest feature?

aeischeid commented 11 years ago

don't know much about those so hadn't really planned on it, but will look into it now. Always happy to get pull requests of course :)

aeischeid commented 11 years ago

doesn't look like support is in uglify project, and CoffeeScriptRedux doesn't quite look ready for prime time just yet either. I will keep my eye on this. would be a nice feature for hem someday