codeant-ai-for-open-source[bot] commented on PR #37788:
URL: https://github.com/apache/superset/pull/37788#issuecomment-3866509191
## **Sequence Diagram**
The PR moves the Webpack-only package js-yaml-loader from runtime
dependencies to devDependencies so it is only installed for development/builds.
The diagram shows the change flow from manifest update to build-time use and
absence at runtime.
```mermaid
sequenceDiagram
participant Dev as Developer / PR
participant Repo as package.json & package-lock.json
participant PM as Package Manager (npm/yarn)
participant Build as Webpack build
participant Runtime as Production runtime
Dev->>Repo: Modify manifests (move js-yaml-loader to devDependencies)
Repo->>PM: package-lock updated / install metadata marked dev
PM->>Build: Install devDependencies for CI/local build
Build->>PM: Use js-yaml-loader during asset bundling
Note over Runtime,PM: js-yaml-loader not included in production runtime
installs
Runtime-->>Build: Serve bundled assets (no runtime dependency on
js-yaml-loader)
```
---
*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]