Skip to content
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

Generate source maps on-the-fly #1

Open
peller opened this issue Jul 10, 2012 · 1 comment
Open

Generate source maps on-the-fly #1

peller opened this issue Jul 10, 2012 · 1 comment

Comments

@peller
Copy link

peller commented Jul 10, 2012

Generating source maps dynamically would be a powerful feature. Google Closure can do this, not sure if it's worth the investment to bring support in Shrinksafe up to date also.

Not really useful here, but @jthomas filed a Dojo Toolkit request to generate static sourcemaps with the Dojo releases. Info on the sourcemap format is included there.

@billreed63 @JonFerraiolo @rbackhouse

@rbackhouse
Copy link
Member

I have done some investigation and prototyping and the result is currently this isn't going to work in Zazl. I can get it to generate the source maps and place the sourceMappingURL comments in the returned JavaScript response but it appears that Chrome (the only browser that currently supports source maps) does not respect multiple modules and sourceMappingURL within the same javascript resource. It finds and handles the first module and then ignores the rest. I will followup on the Chrome dev newsgroup to see if this is going to be possible to support this

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

No branches or pull requests

2 participants