Skip to content

Commit

Permalink
Temporarily force pub to use dart2js old frontend (#1828)
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmundch authored Mar 15, 2018
1 parent d275574 commit 5f329bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/dart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 5f329bc

Please sign in to comment.