korbit-ai[bot] commented on code in PR #34272:
URL: https://github.com/apache/superset/pull/34272#discussion_r2223934431


##########
superset-frontend/webpack.config.js:
##########
@@ -319,6 +319,13 @@ const config = {
           './node_modules/@storybook/react-dom-shim/dist/react-16',
         ),
       ),
+      // Workaround for react-color trying to import non-existent icon
+      '@icons/material/UnfoldMoreHorizontalIcon': path.resolve(
+        path.join(
+          APP_DIR,
+          './node_modules/@icons/material/CubeUnfoldedIcon.js',
+        ),
+      ),

Review Comment:
   If the icon file exists at that path, you're right - there may be an issue 
with webpack's resolution rather than a missing file. Could you check if there 
are any import/export issues in the UnfoldMoreHorizontalIcon file itself? 
Alternatively, we could try removing the alias since the file exists where 
react-color expects it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to