mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-09 17:40:09 +00:00
feat: upgrade Vite from v5 to v7 (#7566)
## Summary Update vite to version 7, this is prerequisite to support sparkjs https://sparkjs.dev/ for 3DGS file. Currently, vite 5 has issue to load the file in spark, as working with developer from World lab https://www.worldlabs.ai/, we found it is bug on vite 5, we should upgrade vite to latest one. see https://github.com/Comfy-Org/ComfyUI_frontend/issues/4061 also discussed with @christian-byrne and got approval for this change ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7566-feat-upgrade-Vite-from-v5-to-v7-2cb6d73d365081f7bdb0d7425d8b869e) by [Unito](https://www.unito.io)
This commit is contained in:
2879
pnpm-lock.yaml
generated
2879
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -11,10 +11,10 @@ catalog:
|
||||
'@iconify/tailwind': ^1.1.3
|
||||
'@intlify/eslint-plugin-vue-i18n': ^4.1.0
|
||||
'@lobehub/i18n-cli': ^1.25.1
|
||||
'@nx/eslint': 21.4.1
|
||||
'@nx/playwright': 21.4.1
|
||||
'@nx/eslint': 22.2.6
|
||||
'@nx/playwright': 22.2.6
|
||||
'@nx/storybook': 22.2.4
|
||||
'@nx/vite': 21.4.1
|
||||
'@nx/vite': 22.2.6
|
||||
'@pinia/testing': ^0.1.5
|
||||
'@playwright/test': ^1.52.0
|
||||
'@prettier/plugin-oxc': ^0.1.3
|
||||
@@ -34,12 +34,12 @@ catalog:
|
||||
'@trivago/prettier-plugin-sort-imports': ^5.2.0
|
||||
'@types/fs-extra': ^11.0.4
|
||||
'@types/jsdom': ^21.1.7
|
||||
'@types/node': ^20.14.8
|
||||
'@types/node': ^20.19.0
|
||||
'@types/semver': ^7.7.0
|
||||
'@types/three': ^0.169.0
|
||||
'@vitejs/plugin-vue': ^5.1.4
|
||||
'@vitejs/plugin-vue': ^6.0.0
|
||||
'@vitest/coverage-v8': ^3.2.4
|
||||
'@vitest/ui': ^3.0.0
|
||||
'@vitest/ui': ^3.2.0
|
||||
'@vue/test-utils': ^2.4.6
|
||||
'@vueuse/core': ^11.0.0
|
||||
'@vueuse/integrations': ^13.9.0
|
||||
@@ -67,7 +67,7 @@ catalog:
|
||||
lint-staged: ^15.5.2
|
||||
markdown-table: ^3.0.4
|
||||
mixpanel-browser: ^2.71.0
|
||||
nx: 21.4.1
|
||||
nx: 22.2.6
|
||||
oxlint: ^1.32.0
|
||||
oxlint-tsgolint: ^0.8.4
|
||||
picocolors: ^1.1.1
|
||||
@@ -91,10 +91,10 @@ catalog:
|
||||
unplugin-icons: ^0.22.0
|
||||
unplugin-typegpu: 0.8.0
|
||||
unplugin-vue-components: ^0.28.0
|
||||
vite: ^5.4.19
|
||||
vite: ^7.0.0
|
||||
vite-plugin-dts: ^4.5.4
|
||||
vite-plugin-html: ^3.2.2
|
||||
vite-plugin-vue-devtools: ^7.7.6
|
||||
vite-plugin-vue-devtools: ^8.0.0
|
||||
vitest: ^3.2.4
|
||||
vue: ^3.5.13
|
||||
vue-component-type-helpers: ^3.0.7
|
||||
|
||||
@@ -170,6 +170,8 @@ export default defineConfig({
|
||||
target: DEV_SERVER_COMFYUI_URL,
|
||||
...cloudProxyConfig,
|
||||
bypass: (req, res, _options) => {
|
||||
if (!res) return null
|
||||
|
||||
// Return empty array for extensions API as these modules
|
||||
// are not on vite's dev server.
|
||||
if (req.url === '/api/extensions') {
|
||||
|
||||
Reference in New Issue
Block a user