Skip to content

Commit

Permalink
docs: update ExtractTextPlugin v2x setup docs (#229)
Browse files Browse the repository at this point in the history
Source: https://github.com/webpack-contrib/extract-text-webpack-plugin#usage

Otherwise breaking change error will be thrown, e.g.

```
fallbackLoader option has been deprecated - replace with "fallback"
```
  • Loading branch information
trimailov authored and gajus committed Apr 10, 2017
1 parent b5d84c1 commit 7b1da9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ Setup:
{
test: /\.css$/,
loader: ExtractTextPlugin.extract({
notExtractLoader: 'style-loader',
loader: 'css?modules&importLoaders=1&localIdentName=[path]___[name]__[local]___[hash:base64:5]!resolve-url!postcss',
fallback: 'style-loader',
use: 'css?modules&importLoaders=1&localIdentName=[path]___[name]__[local]___[hash:base64:5]!resolve-url!postcss',
}),
}
```
Expand Down

0 comments on commit 7b1da9b

Please sign in to comment.