Skip to content

Commit

Permalink
add back WASM_FALLBACK constant (#15758)
Browse files Browse the repository at this point in the history
  • Loading branch information
PPpro authored Jul 18, 2023
1 parent 401b408 commit c10a724
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cc.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,12 @@
"value": false,
"internal": true
},
"WASM_FALLBACK": {
"comment": "An internal constant to indicate whether need a fallback of wasm.\nIf true, we build a wasm fallback module for the compatibility of wasm files compiled by different version of emscripten.\nThis is useful when we use wasm on different version of Safari browsers.",
"type": "boolean",
"value": "$HTML5",
"internal": true
},
"WASM_SUBPACKAGE": {
"comment": "An internal constant to indicate whether we use wasm assets as minigame subpackage.\nThis is useful when we need to reduce code size.",
"type": "boolean",
Expand Down

0 comments on commit c10a724

Please sign in to comment.