Skip to content

Commit 5f329bc

Browse files
authored
Temporarily force pub to use dart2js old frontend (#1828)
1 parent d275574 commit 5f329bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/dart.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ Future compile(String entrypoint, CompilerProvider provider,
8989
if (platformBinaries != null) {
9090
options.add('--platform-binaries=$platformBinaries');
9191
}
92+
options.add('--use-old-frontend');
9293

9394
var sourceUrl = p.toUri(entrypoint);
9495
options.add("--out=$sourceUrl.js");

0 commit comments

Comments
 (0)