corrupted and missing assets in built vite app ('Failed to decode downloaded font')Β #13286
Closed
Description
- Operating System:
Darwin
- Node Version:
v16.13.2
- Nuxt Version:
3.0.0-27383920.81ee59c
- Package Manager:
npm@8.1.2
- Bundler:
Vite
- User Config:
-
- Runtime Modules:
-
- Build Modules:
-
The last release 3.0.0-27383920.81ee59c fixed the problem with images in /assets loaded from css url() now loaded correctly, but remains an issue with fonts loaded from /assets in css @font-face, i attach a screenshot of it: (Failed to decode downloaded font: / Failed to load response data)
Fonts loaded as:
/* assets/css/fonts.css */
@font-face {
font-family: 'Noto-Sans';
src: url('assets/fonts/noto-sans/NotoSans-Regular.ttf') format('truetype');
}
Activity