Fix webpack license warning (#21815)

#19999 introduced a indirect dependency with a license that was not on
our allowlist yet which produced this warning during webpack:

````
WARNING in License: [email protected] has disallowed license CPAL-1.0 OR AGPL-1.0
````

I've added both licenses to the allowed list and made it so webpack will
now abort on such license errors so that we don't miss those next time.

Co-authored-by: John Olheiser <[email protected]>
Co-authored-by: Lunny Xiao <[email protected]>
This commit is contained in:
silverwind
2022-11-18 11:54:32 -06:00
committed by GitHub
co-authored by John Olheiser Lunny Xiao
parent 6da8bc6be9
commit 595d940daa
+2 -1
View File
@@ -229,7 +229,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)',
ignore: [
'font-awesome',
],