google-closure-librarygoogle-closure-templatesplovr

Does plovr support the latest closure library?


I was using plovr as closure compiler for the latest google closure library, but it think it plays nicely. Why is this so?

Link=http://plovr.com/docs.html

Thanks in advance for the help,

Kiran


Solution

  • Generally speaking, if you update the library, you would also need to update the compiler, as they're designed to work together. Getting a new compiler release to work with Plovr is non-trivial since it makes use of its internals and thus Plovr itself must be recompiled. While Plovr supports pointing to a custom Closure Library checkout, there have been enough changes (e.g. dependency, type system, module declarations) in Closure to make Plovr's stale compiler incompatible with recent library releases.

    Here are a couple blocking issues in supporting more recent editions of the Library:

    This is particularly striking as new namespaces in the Library make use of the goog.module-style declaration.