Skip to content

Commit e265c35

Browse files
Reland "Output .js files from wasm modules as ES6 modules. (#844)" (#873)
To go with the reland of ES6 modules stuff here: flutter/engine#53688
1 parent 88ff410 commit e265c35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/config/compiler/BUILD.gn

+2
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,8 @@ config("compiler") {
296296
# Reduces global namespace pollution.
297297
"-s",
298298
"MODULARIZE=1",
299+
"-s",
300+
"EXPORT_ES6",
299301

300302
# Always produce a symbol map so that we can map crash traces
301303
"--emit-symbol-map",

0 commit comments

Comments
 (0)