-
Notifications
You must be signed in to change notification settings - Fork 304
--dev incompatible inside chrome extensions #226
Comments
oh lame :( |
This could be fixed by using sourcemap instead of SourceURL since sourcemap doesn't require an eval. However sourcemaps aren't really supported that well in current debug tools so variables aren't mapped back properly. |
sourcemaps are huge PITA too, I guess we could have a |
Having source URLs behind a flag is nice for IE debugging too. Or maybe someone should make a builder that spits out |
a lot more work for no gain really, if you're using coffeescript or something sure, but I sure wouldn't bother with js |
I guess, I dont find it to be a problem without |
+1 for debugging in production, especially with all the line numbers preserved it helps to send bug reports for 3rd party components |
closing this and moving discussion to componentjs/builder2.js#26 if you guys know a really simple library that easily makes source maps from just concatenating stuff, let me know! |
Just FYI, if you try to use files built with
component build --dev
in a chrome extension, you'll get an error like the following:Workaround for now is to remove the --dev, and deal with the lack of sourcemaps etc.
This is probably more an issue with component-builder
The text was updated successfully, but these errors were encountered: