mirror of https://github.com/apache/superset.git
fix(Webpack dev-sever warnings): Add ignoreWarning to webpack config for @data-ui error (#28232)
This commit is contained in:
parent
efda57e8a5
commit
a38dc90abe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue