rusackas commented on PR #37511: URL: https://github.com/apache/superset/pull/37511#issuecomment-3863893651
## Investigation Results This @swc/core upgrade (1.14.0 → 1.15.11) causes webpack build failures due to incompatibility with thread-loader: ``` ModuleBuildError -> WorkerError webpack 5.105.0 compiled with 6 errors ``` The errors occur in multiple entry points (preamble.ts, theme.ts, service-worker.ts, views/menu.tsx, views/index.tsx, embedded/index.tsx). **Root cause**: @swc/core 1.15.x appears to have breaking changes that are incompatible with the current thread-loader setup. **Options**: 1. Wait for thread-loader or swc-loader updates that support @swc/core 1.15.x 2. Update webpack config to not use thread-loader with swc-loader 3. Close this PR and wait for ecosystem to stabilize Recommend closing this PR for now and revisiting once the ecosystem has better support. -- 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]
