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
-
using storybook@6.5.14, vite@4.0.2 and @storybook/builder-vite@0.2.6
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