Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Emscripten provides a Module.locateFile which can be specified in the Module.
The current implementation of loading the files uses the current path or the web current location where it is served from.
* [wasm] Fix the build. * [wasm] Add --copy parameter to packager - copy parameter ``` --copy=always|ifnewer Set the type of copy to perform 'always' overwrites the file if it exists. 'ifnew' copies or overwrites the file if modified or size is different. ``` - Fix wasm build target in do-runtime target. * [wasm] Add support for Module.locateFile to runtime loading See issue #11099 for more information. resolves issue: #11099 * Fix spelling of option `ifnew` to `ifnewer`