Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Polymer and Google Closure Compiler

Will Polymer support Google Closure Compiler? What are the reasons why Polymer did not support Google Closure Compiler from the very beginning?

like image 934
Magomimmo Avatar asked Nov 06 '14 11:11

Magomimmo


1 Answers

Well I can't answer why there wasn't support for the compiler from the beginning because I don't work on Polymer itself, but I do know that there are people working to make Polymer work better with the compiler now. In the short term, we're looking to add externs like these:

https://github.com/Polymer/paper-checkbox/tree/master/externs

for existing elements and are looking into adding an externs generator so that we don't have to manage these manually. Longer term, we are hoping to have full support for compiling Polymer elements and ensuring that they work well with other compiled code. Would externs address your use case in the short term? Maybe we can try to prioritize certain elements or at least give you some idea of when they'll be done.

like image 195
JeremyatGoogleLA Avatar answered Sep 22 '22 00:09

JeremyatGoogleLA