codeant-ai-for-open-source[bot] commented on PR #37220:
URL: https://github.com/apache/superset/pull/37220#issuecomment-3828704076
## **Sequence Diagram**
This PR runs npm audit fixes which trims many runtime deps and adjusts
webpack config to allow extension-less imports for two geostyler packages so
the frontend build can succeed with upstream ESM fixes.
```mermaid
sequenceDiagram
participant Dev
participant NPM
participant WebpackConfig
participant Build
Dev->>NPM: run npm audit fix (remove many runtime deps)
NPM-->>Dev: updated package.json / fewer runtime deps
Dev->>Build: attempt frontend build
Build-->>Dev: fails due to improperly-specified ESM imports (geostyler-*)
Dev->>WebpackConfig: add rule (fullySpecified: false) for
geostyler-style & geostyler-qgis-parser
WebpackConfig-->>Build: build with updated resolution
Build-->>Dev: build succeeds (CI expected to pass)
```
---
*Generated by [CodeAnt AI](https://codeant.ai)*
--
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]