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
I get the following error when running react-app-rewired build --library:
/src/components/Button/Button.css
Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, refer to https://github.com/webpack/extract-text-webpack-plugin for the usage example
The css is imported as: import "./Button.css".
Replacing
config.plugins=[ ]
with
config.plugins = [
new ExtractTextPlugin("styles.css"),
];
seems to solve the problem..
The text was updated successfully, but these errors were encountered:
I get the following error when running
react-app-rewired build --library
:The css is imported as:
import "./Button.css"
.Replacing
with
seems to solve the problem..
The text was updated successfully, but these errors were encountered: