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
This topic has already appeared here is the summary :
The functionality is no longer supported by angular so either there is a feature made on the storybook side to take this case into account. Or use the new storybook builder provided for that.
It is perhaps feasible with a webpack config that does not conflict with that of angular 🤷♂️
IMHO : I don't know how to do it. And I also think it's not a good solution for sb angular users.
In angular we configure the global style scss via the angular-cli builder and angular.json otherwise you have to do your own webpack configuration. Storybook allows the same thing
Describe the bug
Including global styles in preview.js is ignored in 6.5.0-alpha.16.
Can't check with 6.4.x cause it's broken with angular (see #17039 (comment)).
To Reproduce
git clone https://github.com/artaommahe/storybook-issues
yarn install
yarn storybook
System
Additional context
Worked fine with
6.4.0-alpha.28
(it's used in our real apps with such global styles imports).The text was updated successfully, but these errors were encountered: