This repository was archived by the owner on Jun 28, 2025. It is now read-only.
vite can't find stylesheet error #534
Unanswered
chadi-kazan
asked this question in
Q&A
Replies: 1 comment 5 replies
-
|
In storybook 6.5, we don't automatically use your |
Beta Was this translation helpful? Give feedback.
5 replies
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.
-
using [email protected], [email protected] and @storybook/[email protected]
I keep getting
[vite] Internal server error: [sass] Can't find stylesheet to import.@import "~highcharts/css/highcharts.scss";
`
for context, my main.js is the following
highcharts.scss is imported inside a sass file in my own app's sources
I have
in my vite.config, but it doesn't seem to have any effect as the
~is not getting replaced.It doesn't seem to be able to process nested scss imports
and i can't think of a workaround.
Beta Was this translation helpful? Give feedback.
All reactions