-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Use globalThis for webpack's output.globalObject instead of this #14966
Conversation
mozilla#14915. That allows us to import pdfjs-dist/build/pdf.js dynamically from modules. - https://webpack.js.org/configuration/output/#outputglobalobject - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 2 Live output at: http://54.241.84.105:8877/5273ae9589ef1d5/output.txt |
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 3 Live output at: http://54.241.84.105:8877/e13c03cde39284b/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 2 Live output at: http://54.193.163.58:8877/ce9141617dae4c7/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/5273ae9589ef1d5/output.txt Total script time: 2.61 mins Published |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/e13c03cde39284b/output.txt Total script time: 26.58 mins
Image differences available at: http://54.241.84.105:8877/e13c03cde39284b/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/ce9141617dae4c7/output.txt Total script time: 28.61 mins
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try this, since everything still appears to work as it should; thank you!
Use
globalThis
for webpack'soutput.globalObject
instead ofthis
. Close #14915.That allows us to import
pdfjs-dist/build/pdf.js
dynamically from modules.