This is an automated email from the ASF dual-hosted git repository.
diegopucci pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new a38dc90abe fix(Webpack dev-sever warnings): Add ignoreWarning to
webpack config for @data-ui error (#28232)
a38dc90abe is described below
commit a38dc90abe97c34c24990d9ad11df55b69464f97
Author: Ross Mabbett <[email protected]>
AuthorDate: Tue Apr 30 09:07:55 2024 -0400
fix(Webpack dev-sever warnings): Add ignoreWarning to webpack config for
@data-ui error (#28232)
---
superset-frontend/webpack.config.js | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/superset-frontend/webpack.config.js
b/superset-frontend/webpack.config.js
index b2e574b932..4b6308c9d7 100644
--- a/superset-frontend/webpack.config.js
+++ b/superset-frontend/webpack.config.js
@@ -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