Open Globegitter opened 8 years ago
Or maybe something like https://github.com/myfreeweb/broccoli-source-map or https://github.com/ef4/broccoli-sourcemap-concat would be faster and then just have debug to false.
That would be great, thanks.
I tried broccoli-sourcemap-concat
and it's very cool, but I think you'd still have to set debug
to true
because it strips out inlined source maps (like exorcist). It also happens to join files together, but that's the job of browserify
:)
I think an example with either exorcist
, broccoli-source-map
or broccoli-sourcemap-concat
would be nice.
chrome only seems to detect sourcemaps when you provide a separate
app.js.map
file. I got my localbroccoli-fast-browserify
to work by using https://github.com/thlorenz/exorcist. Not sure if it is the smartest way to do it as it does impact build time (total build time gone up 1-2s, rebuild ~1s) but will PR soon.