plugin-svelte CSS @import resolves to /web_modules, even with baseUrl set #1779
Unanswered
kennethklee
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Global style imports resolve to the wrong url when baseUrl is set.
Example
snowpack.config.js:
App.svelte:
Expected
Text "Hello" has the bulma title style.
Actual
When visiting http://localhost:8080/blog, we get the following browser error:
Meanwhile, "Hello" has the default h1 style.
Beta Was this translation helpful? Give feedback.
All reactions