summaryrefslogtreecommitdiff
path: root/platform/javascript/js/engine/utils.js
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-10-24 16:02:09 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-12-05 00:52:43 +0100
commitca34b5e57a79d843bb5a57f13fb2f674e1d801e7 (patch)
treefa79e016fa767abfdf568c10205a7293bb858c13 /platform/javascript/js/engine/utils.js
parent1167ab96e9be2a86b1315693b843820eef978685 (diff)
[HTML5] GDNative support via SIDE_MODULE.
Working with emscripten >= 2.0.10
Diffstat (limited to 'platform/javascript/js/engine/utils.js')
-rw-r--r--platform/javascript/js/engine/utils.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/javascript/js/engine/utils.js b/platform/javascript/js/engine/utils.js
index d0fca4e1cb..9273bbad42 100644
--- a/platform/javascript/js/engine/utils.js
+++ b/platform/javascript/js/engine/utils.js
@@ -8,6 +8,8 @@ const Utils = { // eslint-disable-line no-unused-vars
return `${execName}.audio.worklet.js`;
} else if (path.endsWith('.js')) {
return `${execName}.js`;
+ } else if (path.endsWith('.side.wasm')) {
+ return `${execName}.side.wasm`;
} else if (path.endsWith('.wasm')) {
return `${execName}.wasm`;
}