-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing CSS only in Storybook #156
Comments
May be remove the |
Also, you should try to do following changes.
|
thank you for your quick response. I made the changes you suggested but still getting the following:
Updated Bits: webpack.config.js
config.js
|
May be seems like an issue in the |
This is a similar project you can use as a reference: https://github.com/kadira-samples/react-storybook-demo/tree/master/.storybook |
Yeah, I just looked into my package json and raw was missing. I think i had raw in but not raw-loader. Once i did that it all worked. Thank you for your help! |
Great. |
This is an unusual use case but I'm trying to import the css only for use in the storybook. Currently this is what I have:
Config.js
webpack.config.js
I'm getting the following error:
ERROR in Loader C:\Users******\Desktop\JSApp\node_modules\raw\raw.js didn't return a function
@ ./~/@salesforce-ux/design-system/assets/styles/salesforce-lightning-design-system.css 4:14-119 13:2-17:4 14:20-125
The text was updated successfully, but these errors were encountered: