-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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(vite): disable redundant copyPublicDir option #8039
fix(vite): disable redundant copyPublicDir option #8039
Conversation
🦋 Changeset detectedLatest commit: c8d9a50 The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
I was loading custom fonts in my @font-face {
font-display: swap;
font-family: 'Poppins';
font-style: normal;
font-weight: 500;
src: url('/fonts/poppins-v19-latin-500.woff2') format('woff2');
} The fonts were located in my project in the So either I'm loading the fonts wrong or there's another issue that's now surfaced with As a workaround, I'm moving the fonts from |
@gustavopch Your issue is an interesting one to me. I didn't realise that Vite rewrites references to files in your |
🤖 Hello there, We just published version Thanks! |
@gustavopch I've opened a PR that will fix your issue: #8077. This means that the directory structure needs to change when using Vite so it's not a small change, but I'm glad this got picked up relatively early. |
🤖 Hello there, We just published version Thanks! |
Fixes #8023
From the changeset: