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
get generated into font with url referencing font woff file with absolute path. This assume the website is hosted on the root path
Expected behavior
The css generated for font file should use relative path. This should work nicely has relative path in css are relative to the css file itself
The text was updated successfully, but these errors were encountered:
Let's say I want to import a file with import("./import-me.css").
The website is generated at /build/index.html with adapter-static.
The browser tries to fetch /_app/assets/import-me-2d113d6b.css, which is wrong.
If I use base: "./" as vite config, then the browser fetches ./assets/import-me-2d113d6b.css which is /build/assets/import-me-2d113d6b.css, which is wrong again.
The correct path should be /build/_app/assets/import-me-2d113d6b.css.
Describe the bug
in the create svelte default template the following css :
kit/packages/create-svelte/templates/default/src/app.css
Line 1 in 9a2cc0a
Expected behavior
The css generated for font file should use relative path. This should work nicely has relative path in css are relative to the css file itself
The text was updated successfully, but these errors were encountered: