forked from emscripten-core/emscripten
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include CJS / AMD module exports under MINIMAL_RUNTIME
I don't see why `-sMINIMAL_RUNTIME` users would not want the same exporting of the module. The EXPORT_ES6 behaviour was already matching. This change is necessary are part of emscripten-core#23261 which feeds the modularized code through closure and our acorn optimizations. Without this closer things the entire module factory is seen as unused and is deleted.
- Loading branch information
Showing
5 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"a.html": 454, | ||
"a.html.gz": 328, | ||
"a.js": 4538, | ||
"a.js.gz": 2320, | ||
"a.js": 4706, | ||
"a.js.gz": 2383, | ||
"a.wasm": 10206, | ||
"a.wasm.gz": 6663, | ||
"total": 15198, | ||
"total_gz": 9311 | ||
"total": 15366, | ||
"total_gz": 9374 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"a.html": 346, | ||
"a.html.gz": 262, | ||
"a.js": 22202, | ||
"a.js.gz": 11604, | ||
"total": 22548, | ||
"total_gz": 11866 | ||
"a.js": 22370, | ||
"a.js.gz": 11669, | ||
"total": 22716, | ||
"total_gz": 11931 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"a.html": 454, | ||
"a.html.gz": 328, | ||
"a.js": 4076, | ||
"a.js.gz": 2163, | ||
"a.js": 4244, | ||
"a.js.gz": 2227, | ||
"a.wasm": 10206, | ||
"a.wasm.gz": 6663, | ||
"total": 14736, | ||
"total_gz": 9154 | ||
"total": 14904, | ||
"total_gz": 9218 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"a.html": 346, | ||
"a.html.gz": 262, | ||
"a.js": 21728, | ||
"a.js.gz": 11435, | ||
"total": 22074, | ||
"total_gz": 11697 | ||
"a.js": 21896, | ||
"a.js.gz": 11500, | ||
"total": 22242, | ||
"total_gz": 11762 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters