Support JS dependency embedding on Emscripten output
This commit is contained in:
3
templates/emscripten/output.js
Normal file
3
templates/emscripten/output.js
Normal file
@@ -0,0 +1,3 @@
|
||||
::SOURCE_FILE::
|
||||
::if embeddedLibraries::::foreach (embeddedLibraries)::
|
||||
::__current__::::end::::end::
|
||||
@@ -65,7 +65,6 @@
|
||||
}, true);::end::::end::
|
||||
</script>
|
||||
|
||||
::if DEBUG::<script type="text/javascript" src="./webgl-debug.js"></script>::end::
|
||||
<script type="text/javascript" src="./::APP_FILE::.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user