From 6708fa9bacb3d7994c29f6f7a82a4362baabea9a Mon Sep 17 00:00:00 2001 From: Justas Trimailovas Date: Mon, 10 Apr 2017 10:47:15 +0300 Subject: [PATCH] Update ExtractTextPlugin v2x setup docs 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" ``` --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a154c4..7340c6d 100644 --- a/README.md +++ b/README.md @@ -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', }), } ```