From 2e62a343c3b6013a1d092bccabcfb76ed44ec245 Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 15 Nov 2022 00:06:42 +0100 Subject: [PATCH 1/2] Fix webpack license warning --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 26632429929b..79bc6124e65f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -228,7 +228,8 @@ export default { override: { 'jquery.are-you-sure@*': {licenseName: 'MIT'}, }, - allow: '(Apache-2.0 OR BSD-2-Clause OR BSD-3-Clause OR MIT OR ISC)', + emitError: true, + allow: '(Apache-2.0 OR BSD-2-Clause OR BSD-3-Clause OR MIT OR ISC OR CPAL-1.0 OR AGPL-1.0)', ignore: [ 'font-awesome', ], From 69e111eae92ded7d332b74e0f4a9adddc237d416 Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 15 Nov 2022 18:31:06 +0100 Subject: [PATCH 2/2] remove AGPL --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 79bc6124e65f..928be0f936f5 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -229,7 +229,7 @@ export default { 'jquery.are-you-sure@*': {licenseName: 'MIT'}, }, emitError: true, - allow: '(Apache-2.0 OR BSD-2-Clause OR BSD-3-Clause OR MIT OR ISC OR CPAL-1.0 OR AGPL-1.0)', + allow: '(Apache-2.0 OR BSD-2-Clause OR BSD-3-Clause OR MIT OR ISC OR CPAL-1.0)', ignore: [ 'font-awesome', ],