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
When I attempt to follow the instructions for using with extract-text-webpack-plugin and Webpack 2, I get the following error:
ERROR in ./~/react-widgets-webpack/index.loader.js!./react-widgets.config.js
Module build failed: Error: Breaking change: extract now only takes a single argument. Either an options object *or* the loader(s).
Example: if your old code looked like this:
ExtractTextPlugin.extract('style-loader', 'css-loader')
You would change it to:
ExtractTextPlugin.extract({ fallback: 'style-loader', use: 'css-loader' })
I don't have tested react-widgets-webpack with webpack 2, but I'll need do some changes to solve this.
If you can't wait, you can check bootstrap-webpack or/and font-awesome-webpack solutions.
When I attempt to follow the instructions for using with extract-text-webpack-plugin and Webpack 2, I get the following error:
Changing to
gives the following error:
My webpack.config.js:
Any ideas what the issue is?
The text was updated successfully, but these errors were encountered: