Update css-loader options in config/webpack.config.js
This commit is contained in:
parent
7001dd292f
commit
674729f1cf
1 changed files with 13 additions and 13 deletions
26
debian/patches/0791-update-css-loader.patch
vendored
26
debian/patches/0791-update-css-loader.patch
vendored
|
@ -1,4 +1,4 @@
|
||||||
From e687a88a5cde07e3c4efc54696704a212508afb1 Mon Sep 17 00:00:00 2001
|
From 057f8e6071c8697a39dc86f95f33a184d644cc11 Mon Sep 17 00:00:00 2001
|
||||||
From: Pirate Praveen <praveen@debian.org>
|
From: Pirate Praveen <praveen@debian.org>
|
||||||
Date: Tue, 12 May 2020 12:33:33 +0000
|
Date: Tue, 12 May 2020 12:33:33 +0000
|
||||||
Subject: [PATCH] Update css-loader ^1.0.0 -> ^2.1.1
|
Subject: [PATCH] Update css-loader ^1.0.0 -> ^2.1.1
|
||||||
|
@ -19,18 +19,6 @@ Subject: [PATCH] Update css-loader ^1.0.0 -> ^2.1.1
|
||||||
+merge_request: 31743
|
+merge_request: 31743
|
||||||
+author: Pirate Praveen
|
+author: Pirate Praveen
|
||||||
+type: other
|
+type: other
|
||||||
--- a/config/webpack.config.js
|
|
||||||
+++ b/config/webpack.config.js
|
|
||||||
@@ -240,7 +240,8 @@
|
|
||||||
{
|
|
||||||
loader: 'css-loader',
|
|
||||||
options: {
|
|
||||||
- name: '[name].[hash:8].[ext]',
|
|
||||||
+ modules: true,
|
|
||||||
+ localIdentName: '[name].[hash:8].[ext]',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
--- a/yarn.lock
|
--- a/yarn.lock
|
||||||
+++ b/yarn.lock
|
+++ b/yarn.lock
|
||||||
@@ -1891,15 +1891,6 @@
|
@@ -1891,15 +1891,6 @@
|
||||||
|
@ -272,3 +260,15 @@ Subject: [PATCH] Update css-loader ^1.0.0 -> ^2.1.1
|
||||||
version "5.5.0"
|
version "5.5.0"
|
||||||
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
|
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
|
||||||
integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==
|
integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==
|
||||||
|
--- a/config/webpack.config.js
|
||||||
|
+++ b/config/webpack.config.js
|
||||||
|
@@ -240,7 +240,8 @@
|
||||||
|
{
|
||||||
|
loader: 'css-loader',
|
||||||
|
options: {
|
||||||
|
- name: '[name].[hash:8].[ext]',
|
||||||
|
+ modules: 'global',
|
||||||
|
+ localIdentName: '[name].[contenthash:8].[ext]'
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
|
Loading…
Reference in a new issue