-
Notifications
You must be signed in to change notification settings - Fork 19
Support of source-maps #26
Comments
my idea is: according to https://github.com/PolymerLabs/polybuild polybuild tool is the same as: vulcanize --inline-css --inline-scripts --strip-comments index.html | polyclean | crisper --html index.build.html --js index.build.js the order is:
as far as I know uglifyjs doesn't work with html files as input so polyclean manually cuts parts of js code', put it through uglifyjs and paste it back (I hope I understood correctly how polyclean works). That's why creating of source maps is useless in this context. my idea is to change the order of polyclean and crisper and modify polyclean to allow using external options for uglifyjs2:
So first you will have html file and formatted js file and only then you can use uglifyjs2(call from polyclean or standalone?) with --source-map and --source-map-include-sources options. |
+1 |
Is there are any possibility to have error tracking in Polymer?
related issue in stackoverflow: http://stackoverflow.com/questions/34921477/how-to-implement-error-tracking-in-a-polymer
related in Vulcanaze: https://github.com/Polymer/vulcanize/issues/12
The text was updated successfully, but these errors were encountered: