From 8eb81d27554c5b361e93d7aa2593623caac9c016 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Wed, 21 Oct 2020 10:26:53 +0000 Subject: [PATCH] Update css-loader node module 2.1.1 -> 3.2.1 --- config/webpack.config.js | 6 ++- package.json | 2 +- yarn.lock | 107 +++++++++++++++++++++++++++------------ 3 files changed, 79 insertions(+), 36 deletions(-) --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -252,8 +252,10 @@ { loader: 'css-loader', options: { - modules: 'global', - localIdentName: '[name].[contenthash:8].[ext]', + modules: { + mode: 'global', + localIdentName: '[name].[contenthash:8].[ext]', + }, }, }, ],