Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit d4d97c3

Browse files
TSJS teamrkirov
authored andcommitted
Internal change
PiperOrigin-RevId: 276592968
1 parent b73cded commit d4d97c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/google/javascript/clutz/Options.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ public CompilerOptions getCompilerOptions() {
179179
final CompilerOptions options = new CompilerOptions();
180180
options.setClosurePass(true);
181181
options.setTracerMode(this.tracerMode);
182+
// TODO(b/142973207): Set this to false after clutz supports native module checking
183+
options.setBadRewriteModulesBeforeTypecheckingThatWeWantToGetRidOf(true);
182184

183185
if (this.entryPoints.isEmpty()) {
184186
options.setDependencyOptions(DependencyOptions.sortOnly());

0 commit comments

Comments
 (0)