-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
plugin-legacy Unexpected token import #9297
Labels
p4-important
Violate documented behavior or significantly improves performance (priority)
plugin: legacy
Comments
sapphi-red
added
plugin: legacy
p4-important
Violate documented behavior or significantly improves performance (priority)
labels
Jul 22, 2022
Merged
9 tasks
Im facing the same issue @sapphi-red , thanks for fixing it and when will this be merged and meanwhile is there a immediate fix. thanks in advance |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
p4-important
Violate documented behavior or significantly improves performance (priority)
plugin: legacy
Describe the bug
use
<img src="@/assets/logo.png">
load static imagebuild config
legacy({ targets: ['ie >= 11', 'chrome > 49'] })
there will be
new URL("logo.03d6d6da.png",import.meta.url).href
in legacy chunk file. in chrome 55, import will cause error.Reproduction
Reproduction
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: