We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, when using the latest v5.3.1, I found that it still cannot work properly in the worker:
The reason for this was found to be that during packaging, 'global' was replaced with 'window'
This is the fix PR, please check it.
Originally posted by @hibrandonevans in #1743 (comment)
The text was updated successfully, but these errors were encountered:
fix: prop window is not defined in web worker
window
df9bb99
Fixes #1748
Successfully merging a pull request may close this issue.
Hello, when using the latest v5.3.1, I found that it still cannot work properly in the worker:
![image](https://private-user-images.githubusercontent.com/112993120/286519453-e1687fa4-ee4f-44e8-a760-f1a72d7c7527.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNTcwNDIsIm5iZiI6MTczOTI1Njc0MiwicGF0aCI6Ii8xMTI5OTMxMjAvMjg2NTE5NDUzLWUxNjg3ZmE0LWVlNGYtNDRlOC1hNzYwLWYxYTcyZDdjNzUyNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQwNjUyMjJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kOGE4YzE3ZWZhZTE4MDIzOWVhMWI0MmRiOThkYjMzMzY3NDVlY2IzNDlhOTFlMTNjYTM0Yzg1ZjcyNzNhNGRkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.BF2q8CaEbXmc3vJGXj8imkeCUYaO_BaJnUvCnmxOQyI)
The reason for this was found to be that during packaging, 'global' was replaced with 'window'
![image (1)](https://private-user-images.githubusercontent.com/112993120/286519472-b6a4f121-265b-4ddf-9eb0-076edcb00c32.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNTcwNDIsIm5iZiI6MTczOTI1Njc0MiwicGF0aCI6Ii8xMTI5OTMxMjAvMjg2NTE5NDcyLWI2YTRmMTIxLTI2NWItNGRkZi05ZWIwLTA3NmVkY2IwMGMzMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQwNjUyMjJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xYTllNDg4MmYxMzlkOGEwMzUxMTc0ZjEwM2Y2ODcyYmYzYTA4ZGVhN2E1ZDIwNDEzY2NhMmQ0ZDA1OGFmOTYyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.JGgGux56bWal9zYd2IsS6qbbOiXVflSKIruH0prnvic)
![image](https://private-user-images.githubusercontent.com/112993120/286519722-887fcf12-d2f9-4b3e-b706-8d81bd5cdc2f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNTcwNDIsIm5iZiI6MTczOTI1Njc0MiwicGF0aCI6Ii8xMTI5OTMxMjAvMjg2NTE5NzIyLTg4N2ZjZjEyLWQyZjktNGIzZS1iNzA2LThkODFiZDVjZGMyZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQwNjUyMjJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00ZWMwZDlmOTMyYmMzMTM3ZjhiYjMxNWI0MTQ1MjM0YWEzMWZkZjk5Njk1NGEzZjNjNDlhYjhhMGE0NTBjNTAwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.pjkzYtn8phsbrQ-G4cGpLSen0vXdCmRbeJiHLFwXr1A)
This is the fix PR, please check it.
Originally posted by @hibrandonevans in #1743 (comment)
The text was updated successfully, but these errors were encountered: