debian-mirror-gitlab/debian/patches/0780-css-loader-3.patch
2020-12-11 01:42:18 +05:30

26 lines
850 B
Diff

From 8eb81d27554c5b361e93d7aa2593623caac9c016 Mon Sep 17 00:00:00 2001
From: Pirate Praveen <praveen@debian.org>
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
@@ -254,8 +254,10 @@
{
loader: 'css-loader',
options: {
- modules: 'global',
- localIdentName: '[name].[contenthash:8].[ext]',
+ modules: {
+ mode: 'global',
+ localIdentName: '[name].[contenthash:8].[ext]',
+ },
},
},
],