-
-
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
Cannot resolve external img at build #57
Comments
I was going to post an issue on inline images that start with url('data:image/...) but I think its related to your issue. For what it's worth, adding a negative lookahead: (?!data:) fixed my issue with build.
Probably needs expanded with http, anchor refs - for example:
|
That's great! I think the error itself is very confusing and it would be helpful to have an error about the non-working import instead of a ReferenceError |
This is not a regex issue. That regex is used for CSS only. Fixed in vuejs/core@d662118 SVG src problem should've been fixed by vuejs/core@f9a3766 (which requires 3.0.0-beta.9) |
Using an external image like
https://images.unsplash.com/photo-1551434678-e076c223a692
orhttps://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2850&q=80
on animg
tag on a vue file fails on build with different errors messages depending on the filename. It does work on dev.I also noticed other bugs on
img
that might be related:src
to ansvg
file also fails at build with./
cannot be foundThe text was updated successfully, but these errors were encountered: