From 20ac87d69c36dac40cb51094bbaeeac2a11e9745 Mon Sep 17 00:00:00 2001 From: Saurav Kadavath Date: Sun, 15 Apr 2018 13:04:45 -0700 Subject: [PATCH] Update README.md to add '-loader' suffix in config It's no longer allowed to omit the '-loader' suffix when using loaders. You need to specify 'style-loader' instead of 'style', and similarly for 'css-loader' --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 02e006d..d16c474 100644 --- a/README.md +++ b/README.md @@ -161,8 +161,8 @@ Setup: { test: /\.css$/, loaders: [ - 'style?sourceMap', - 'css?modules&importLoaders=1&localIdentName=[path]___[name]__[local]___[hash:base64:5]' + 'style-loader?sourceMap', + 'css-loader?modules&importLoaders=1&localIdentName=[path]___[name]__[local]___[hash:base64:5]' ] } ```