You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the build step, the following warning appears:
warnings when minifying css:
Ignoring remote @import of "https://fonts.googleapis.com/css?family=Open+Sans:200,200i,400,400i,500,500i,600,600i,700,700i,900,900i&display=swap" as no callback given and after other content.
And indeed, the font is not imported in the dist build, resulting in a visual difference between the npm run serve and the build.
Describe the bug
The dependency we use to import company styles does a
@import
of a google font url:During the build step, the following warning appears:
And indeed, the font is not imported in the dist build, resulting in a visual difference between the
npm run serve
and the build.Reproduction
https://github.com/scambier/test-vite-app/tree/8ff2fd4783aa3b025fbfce283236f927071f22c1
The
@import
is inApp.vue
System Info
vite
version: 2.0.0-beta.61Logs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.The text was updated successfully, but these errors were encountered: