fix(Webpack dev-sever warnings): Add ignoreWarning to webpack config for @data-ui error (#28232)

This commit is contained in:
Ross Mabbett 2024-04-30 09:07:55 -04:00 committed by GitHub
parent efda57e8a5
commit a38dc90abe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 0 deletions

View File

@ -214,6 +214,19 @@ const config = {
},
output,
stats: 'minimal',
/*
Silence warning for missing export in @data-ui's internal structure. This
issue arises from an internal implementation detail of @data-ui. As it's
non-critical, we suppress it to prevent unnecessary clutter in the build
output. For more context, refer to:
https://github.com/williaster/data-ui/issues/208#issuecomment-946966712
*/
ignoreWarnings: [
{
message:
/export 'withTooltipPropTypes' \(imported as 'vxTooltipPropTypes'\) was not found/,
},
],
performance: {
assetFilter(assetFilename) {
// don't throw size limit warning on geojson and font files