Skip to content

Commit

Permalink
chore(webpack): disable throwing warnings about lack of licenses (#1160)
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsvetkov-splunk authored Apr 29, 2024
1 parent 4df0725 commit 49be893
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ui/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,21 @@ module.exports = merge(baseConfig, {
},
],
},
plugins: [new LicenseWebpackPlugin(), new ForkTsCheckerWebpackPlugin()],
plugins: [
new LicenseWebpackPlugin({
stats: {
warnings: false,
errors: true,
},
}),
new ForkTsCheckerWebpackPlugin(),
],
devtool: 'source-map',
resolve: {
fallback: { querystring: require.resolve('querystring-es3') },
},
devServer: {
hot: false,
client: {
overlay: {
warnings: (warning) =>
!warning.message.includes(
'license-webpack-plugin: could not find any license file for styled-components'
),
},
},
proxy: [
{
target: proxyTargetUrl,
Expand Down

0 comments on commit 49be893

Please sign in to comment.