Skip to content
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

css-loader having issues with alpha version #3507

Closed
esperancaJS opened this issue Apr 30, 2018 · 2 comments
Closed

css-loader having issues with alpha version #3507

esperancaJS opened this issue Apr 30, 2018 · 2 comments

Comments

@esperancaJS
Copy link

Version: @storybook/react 4.0.0-alpha.3

I'm having a hard time including css libraries from node modules, in this case from react-select (import 'react-select/dist/react-select.css';)

I am inclined to believe there might be a dependency issue with the alpha version as the same webpack config works outside storybook.

The error:

(1:1) Unknown word

> 1 | // removed by extract-text-webpack-plugin

More details:
image

@Hypnosphi
Copy link
Member

Hypnosphi commented May 1, 2018

AFAIK extract-text-webpack-plugin isn't currently compatible with webpack 4, so you might need to remove it from your storybook webpack config

@stale
Copy link

stale bot commented May 22, 2018

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 30 days. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants