Skip to content
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

Add missing "EOT" (upper case) font extension. #830

Merged
merged 2 commits into from
Feb 12, 2018
Merged

Add missing "EOT" (upper case) font extension. #830

merged 2 commits into from
Feb 12, 2018

Conversation

pbastowski
Copy link
Contributor

I have EOT (upper cased) fonts in my project, which currently cause the compilation process to fail with vue-cli 3 alpha 11. This PR fixes the problem.

@yyx990803
Copy link
Member

yyx990803 commented Feb 12, 2018

Can't you change the extension to lowercase? I think that's the more common practice...

If for some reason you have to use an uppercase extension, the proper fix would be making the regex case-insensitive.

@pbastowski
Copy link
Contributor Author

Sure, that's possible. I just didn't realise that it's common practice with EOT font files, and I didn't find any advice with google about that. Also, my previous webpack config specifically mentioned both eot and EOT.
But, yeah, it makes sense :) I'll rename them.
Thanks for your help.

I already renamed the files, but for completeness here is the change.
@pbastowski
Copy link
Contributor Author

I'm fine if you close this PR. But if you decide to merge it, it may save someone an hour or two of searching for why one of their fonts just doesn't load and breaks compilation when they move to vue-cli 3.

@yyx990803 yyx990803 merged commit d7cfa00 into vuejs:dev Feb 12, 2018
@pbastowski pbastowski deleted the patch-1 branch February 12, 2018 21:59
@pbastowski
Copy link
Contributor Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants