-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Attempt to get bundlers to leave Emscripten Compiler generated URL
s alone (issue 19761)
#19767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/2300a37d9ff2c68/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/ac0eba87baa2cbc/output.txt |
… alone (issue 19761) Note that we load all wasm-files manually, however the Emscripten Compiler (emcc) unfortunately generates `URL`s for fallback wasm-file loading. In the PDF.js build-scripts we work-around that by using suitable Webpack-options, however that apparently doesn't work when third-party users re-bundle our code and we thus try to work-around this by adding "ignore comments" to these `URL`s (similar to how we handle `import`-statements).
7b1f986
to
20e06c4
Compare
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/ac0eba87baa2cbc/output.txt Total script time: 3.57 mins
Image differences available at: http://54.193.163.58:8877/ac0eba87baa2cbc/reftest-analyzer.html#web=eq.log |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/2300a37d9ff2c68/output.txt Total script time: 30.08 mins
|
Note that we load all wasm-files manually, however the Emscripten Compiler (emcc) unfortunately generates
URL
s for fallback wasm-file loading.In the PDF.js build-scripts we work-around that by using suitable Webpack-options, however that apparently doesn't work when third-party users re-bundle our code and we thus try to work-around this by adding "ignore comments" to these
URL
s (similar to how we handleimport
-statements).