diff --git a/lib/src/dart.dart b/lib/src/dart.dart index 2dec254f8..f67385850 100644 --- a/lib/src/dart.dart +++ b/lib/src/dart.dart @@ -89,6 +89,7 @@ Future compile(String entrypoint, CompilerProvider provider, if (platformBinaries != null) { options.add('--platform-binaries=$platformBinaries'); } + options.add('--use-old-frontend'); var sourceUrl = p.toUri(entrypoint); options.add("--out=$sourceUrl.js");