Skip to content

Commit 7b1da9b

Browse files
trimailovgajus
authored andcommitted
docs: update ExtractTextPlugin v2x setup docs (gajus#229)
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" ```
1 parent b5d84c1 commit 7b1da9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ Setup:
210210
{
211211
test: /\.css$/,
212212
loader: ExtractTextPlugin.extract({
213-
notExtractLoader: 'style-loader',
214-
loader: 'css?modules&importLoaders=1&localIdentName=[path]___[name]__[local]___[hash:base64:5]!resolve-url!postcss',
213+
fallback: 'style-loader',
214+
use: 'css?modules&importLoaders=1&localIdentName=[path]___[name]__[local]___[hash:base64:5]!resolve-url!postcss',
215215
}),
216216
}
217217
```

0 commit comments

Comments
 (0)