Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Commit 4a62ef5

Browse files
Reland "Output .js files from wasm modules as ES6 modules. (#844)"
1 parent 88ff410 commit 4a62ef5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/config/compiler/BUILD.gn

Lines changed: 2 additions & 0 deletions
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)