-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Wasm] Load wasm file for browser via Url.href, not with just relativ…
…e path If relative path is used, it is loaded relative to current document location, not JS file location. So for example if we are on /foo/bar/index.html and load /project.mjs, it tries to load /foo/bar/project.wasm instead of /project.wasm Webpack could process new URL('project.wasm', import.meta.url).href correctly for such case ^KT-71294 fixed
- Loading branch information
1 parent
2a0ac60
commit 4f013a4
Showing
3 changed files
with
9 additions
and
14 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
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
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