-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source maps? #602
Comments
It would be nice to have, but may have some extra complexity (multiple source maps would be needed, they would need to be placed in a specific path so they could be read, etc). |
Can you describe why multiple source maps would be needed? Would there be a single unmangled JS file before the mangle step that could be used as the sole sourcemap? |
Correct, unless we can figure out how to combine source maps (might be possible), we'd have one for each group of code we run uglify on (right now at least twice, once for preloads, once for require.js stuff). |
Understood, thanks. We could potentially combine preload + requirejs before uglify or skip sourcemaps on preloads if we think it's less risky. |
Yes. Right now we have each preload split up (I believe) so we can identify which each one is, but I think having one source-map per HTML file would be significantly improved. |
@ariel-phet says we seem to not get enough bugs, and hard to replicate ones at that, for this to be worth the time. Deferring until someone asks for one, or if we find a strong need for one. Removing chipper:2.0 label to go for it later. |
From #701 Sam Reid [2:51 PM] Jonathan Olson [2:52 PM] Sam Reid [2:52 PM] would become key: “decayVertical”, Jonathan Olson [2:53 PM] Sam Reid [2:53 PM] Jonathan Olson [2:55 PM] |
See phetsims/phet-core#28
We are wondering if chipper 2.0 should provide source maps.
The text was updated successfully, but these errors were encountered: