Skip to content

Commit

Permalink
use license override
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Nov 21, 2022
1 parent e1e8369 commit ff60317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,13 @@ export default {
}).join('\n');
},
override: {
'jquery.are-you-sure@*': {licenseName: 'MIT'},
'jquery.are-you-sure@*': {licenseName: 'MIT'}, // https://github.com/codedance/jquery.AreYouSure/pull/147
'khroma@*': {licenseName: 'MIT'}, // https://github.com/fabiospampinato/khroma/pull/33
},
emitError: true,
allow: '(Apache-2.0 OR BSD-2-Clause OR BSD-3-Clause OR MIT OR ISC OR CPAL-1.0 OR Unlicense)',
ignore: [
'font-awesome',
'khroma', // https://github.com/fabiospampinato/khroma/pull/33
],
}) : new AddAssetPlugin('js/licenses.txt', `Licenses are disabled during development`),
],
Expand Down

0 comments on commit ff60317

Please sign in to comment.