mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-27 17:52:16 +00:00
## Summary Restricts Vite's dependency optimization scanning entry points to the root `index.html`, preventing excessive error messages from scanning unintended files in other packages. ## Changes - **What**: Adds `entries: ['index.html']` to `optimizeDeps` in vite.config.mts - **Breaking**: None ## Review Focus May require additional entries or inversion - exclude-based approach instead of include-based - if possible. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-5934-Restrict-Vite-entry-point-to-index-html-2846d73d3650816fbf45fa29493891ae) by [Unito](https://www.unito.io)
5.2 KiB
5.2 KiB