Turned on checkConsts to output ES8_MODULES
@@ -2211,6 +2211,11 @@ public final class DefaultPassConfig extends PassConfig {
protected CompilerPass create(AbstractCompiler compiler) {
return new ConstCheck(compiler);
}
+
+ @Override
+ public FeatureSet featureSet() {
+ return ES8_MODULES;
+ }
};
/** Checks that the arguments are constants */
