Skip to content

Commit a08209a

Browse files
committed
Compile with -O2
1 parent a0c20fb commit a08209a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

site/build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ targets:
2222
dart2js:
2323
args: [-O4, -Djaspr.flags.release=true]
2424
dart2wasm:
25-
args: [-O4, -Djaspr.flags.release=true]
25+
# Use -O2 to catch more potential runtime issues, it is not much
26+
# slower than -O4: https://github.com/dart-lang/site-www/pull/6953#discussion_r2453318668
27+
args: [-O2, -Djaspr.flags.release=true]

0 commit comments

Comments
 (0)