Skip to content

Commit

Permalink
Update the whitespace bundler to support ECMASCRIPT_NEXT features.
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=187393364
  • Loading branch information
concavelenz authored and Tyler Breisacher committed Mar 3, 2018
1 parent 6abb76d commit b8035a7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ public static class EsmToCjsCompilerSupplier extends CompilerSupplier {
@Override
public CompileResult compile(Path path, String code) {
CompilerOptions options = new CompilerOptions();
options.setLanguageIn(LanguageMode.ECMASCRIPT_NEXT);
options.setSourceMapOutputPath("/dev/null");
options.setSourceMapIncludeSourcesContent(true);
options.setPrettyPrint(true);
Expand Down

0 comments on commit b8035a7

Please sign in to comment.