Had to fiddle a bit to minify inlined HTML and CSS resources inside an ES6 class - here is what I did.https://paul.kinlan.me/minifiying-a-custom-element-es6-class/ …
Use imports where available? You at least don't take the huge hit for purity reasons.
-
-
is there a semi-trivial way to do this that someone has demonstrated?
-
Polymer does it? Other tools will need compiler love.
- 16 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.