Closed jeluard closed 9 years ago
Good point. What kind of patch do you have in mind?
Simply removing the check on externs
and not including it in deps.cljs
. It appears to work fine. Am I missing something?
Maybe we should introduce a flag --no-externs
so we it's a little more explicit and we still keep the validation helpers for the common case of packaging libs with extern files?
Sounds good I'll do that.
Some libraries do not need
externs
to properly work. A canonical example is a polyfill library whose associatedexterns
are already in closure compiler.Let me know if this is desirable. I have a patch for this.