I'm using Vite and I'm still getting the Files in the public directory are served at the…
- User
I'm using Vite and I'm still getting the
Files in the public directory are served at the root pathwarning for a font CSS I'm importing via@import. The import path is"/fonts/Roboto/Roboto.css", correctly loading a file placed atpublic/fonts/Roboto/Roboto.csswithin my repo. This file imports a font file viaurl("normal-400-latin.woff2"). Vite turns this path into/public/fonts/Roboto/normal-400-latin.woff2. How can I stop this and make Vite do what it wants, without warning? Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.