-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
fix(worker): replace import.meta
correctly for IIFE worker
#15321
fix(worker): replace import.meta
correctly for IIFE worker
#15321
Conversation
Run & review this pull request in StackBlitz Codeflow. |
65d033d
to
4c40667
Compare
4c40667
to
a00f6f6
Compare
It seems that the behavior of recent |
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.
Thanks! Would you add a test?
Yeah, it seems quite flaky. |
import.meta
correctly for IIFE worker
Yeah, I can provide test cases. |
Description
fix #15310
fix #15305
refs #12629
Additional context
We may also need to compile
import.meta
to avoid errors when using it directly inworker
. this modification is consistent with the development environment, andimport.meta
only exposes theurl
property.What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).