diff options
author | silverwind | 2022-11-18 18:54:32 +0100 |
---|---|---|
committer | GitHub | 2022-11-18 11:54:32 -0600 |
commit | 595d940daada0a50bf2d3e31c1849e5580810847 (patch) | |
tree | 41b78d82f789f57bbd852ebe9c42ac237cb9225d /webpack.config.js | |
parent | 6da8bc6be9fedf8956b25680077941ed3f081d75 (diff) |
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: citeproc@2.4.62 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 <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js index 4ad5d69bb..a8363051d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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', ], |