rules_closure icon indicating copy to clipboard operation
rules_closure copied to clipboard

moduleLoad spuriously fires on ES6 imports

Open robfig opened this issue 4 years ago • 2 comments

When using rules_closure to compile a trivial js application that uses ES6 modules, compilation fails unless moduleLoad is suppressed.

This can be seen in https://github.com/bazelbuild/rules_closure/pull/409

robfig avatar Oct 21 '19 16:10 robfig

@alexeagle b/129555304 is the internal underlying bug tracking this.

gkdn avatar Oct 21 '19 19:10 gkdn

Seems like this is a bug in https://github.com/google/closure-compiler, not rules_closure right? In the sense that it can be reproduced in the former.

My hope is to remove all Java code from this repo so there is no surface for bugs that aren't reproducible in the compiler itself.

alexeagle avatar Oct 25 '19 14:10 alexeagle