Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

sourcemaps not working #13

Open
Globegitter opened this issue Aug 10, 2015 · 3 comments
Open

sourcemaps not working #13

Globegitter opened this issue Aug 10, 2015 · 3 comments

Comments

@Globegitter
Copy link

chrome only seems to detect sourcemaps when you provide a separate app.js.map file. I got my local broccoli-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.

@Globegitter
Copy link
Author

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.

@caleb
Copy link
Owner

caleb commented Aug 10, 2015

That would be great, thanks.

@caleb
Copy link
Owner

caleb commented Sep 7, 2015

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants