-
-
Notifications
You must be signed in to change notification settings - Fork 371
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
Support for sourceURL / source mapping #207
Comments
+1 now that coffeescript supports source maps this would be a nice enhancement |
👍 |
👍 edit: I played around with it a bit, but one thing is that for example uglifyjs doesn't support source-map generation from stdin. I guess this feature is kind of hard to add. I still would like it very much. |
It's on my radar since coffee-script announced support, but it's still a complicated feature to add, and it also work for only some compiler, not speaking of compressor... |
I would like to help with this, can I try to tackle it or are you working on it on some branch/fork? |
I have not done any work on this. How about you @cyberdelia ? Sass CSS compiler supports css sourcemapping but I have not played with it. Stylus is in development... How would pipeline handle this? |
for javascript it is reasonably straight forward, then we can see all the other compilers and minifiers. The biggest problem for something generating css is that in production cssmin would need to update the map... |
Has this matured? Uglifyjs, less, sass, coffeescript and most tools support source maps now... any progress on this? |
@aehlke This pull request contains merge conflicts. Please resolve them. also it hasn't been touched in a while, and needs a patch in django to work. |
@santagada Indeed, just wanted to give you an update on progress. I submitted a patch to Django but haven't heard anything yet. We should probably override this broken behavior inside of the django-pipeline post-processor for now since it'll be a long time until the fix is in Django. |
I'm swamped now though so would appreciate any help on all this. LMK if you want to help and we can talk more. |
Is there any hope of getting that PR merged, ignoring merge conflicts, to add this support? Mangling provides significant size reduction in JS files compared to basic minification, but is untenable without having sourcemaps for debugging. |
Any updates on this? Source mapping would be great. |
This would be nice to have an option to append the sourceURL / sourcemap for the compressed script in production.
The text was updated successfully, but these errors were encountered: