-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Webpack configuration - Webpack SCSS loader rule looks wrong #2804
Comments
If you are using angular-cli, you should get rules according to this latest change (there was a discussion - #2688). Can you please explain your certain use case? How do you use this scss file in your main app? |
@igor-dv Components that are being tested in isolation depend on |
How do you import these styles into your main app? |
Styles are loaded from an entry ".scss" using Webpack, these provide rules globally for Ionic components. |
I'm not familiar with Ionic. I think that If this behavior is brought by Ionic CLI, this is not rare and we should support this pattern. Is the following rule needed with almost all IonicCLI based projects ?
|
Just a minor clarification from my end; library I am trying to include Storybook in is not the main application. It is built using Rollup and is imported by the main application, which in turn is built using Webpack. |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 60 days. Thanks! |
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook! |
I am trying to import a ".scss" file in a story file as below:
Style is however not applied to the current story. Base
webpack.config.js
seems to have a.scss
rule already, so following https://storybook.js.org/configurations/custom-webpack-config/ I addedwebpack.config.js
in.storybook
and tried to do the following:I am using
3.4.0-alpha.5
. Is there an issue with the base Webpack configuration. If so I can create a PR with the fix.The text was updated successfully, but these errors were encountered: