Skip to content

Commit 6c01dbc

Browse files
Output .js files from wasm modules as ES6 modules. (#844)
Buildroot changes needed for flutter/engine#52023
1 parent feb8e4b commit 6c01dbc

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)