Compare commits

...

2 Commits

Author SHA1 Message Date
Alexander Brown
53b1170bd2 Silence some errors on the websocket proxy 2026-01-31 01:53:41 -08:00
Alexander Brown
50c1754da6 deps: Update vite 2026-01-31 00:54:05 -08:00
5 changed files with 341 additions and 254 deletions

View File

@@ -98,12 +98,10 @@ const config: StorybookConfig = {
},
build: {
rolldownOptions: {
experimental: {
strictExecutionOrder: true
},
treeshake: false,
output: {
keepNames: true
keepNames: true,
strictExecutionOrder: true
},
onwarn: (warning, warn) => {
// Suppress specific warnings

View File

@@ -192,7 +192,7 @@
},
"pnpm": {
"overrides": {
"vite": "^8.0.0-beta.8"
"vite": "^8.0.0-beta.11"
}
}
}

567
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -62,8 +62,8 @@ catalog:
happy-dom: ^20.0.11
husky: ^9.1.7
jiti: 2.6.1
jsonata: ^2.1.0
jsdom: ^27.4.0
jsonata: ^2.1.0
knip: ^5.75.1
lint-staged: ^16.2.7
markdown-table: ^3.0.4
@@ -92,7 +92,7 @@ catalog:
unplugin-icons: ^22.5.0
unplugin-typegpu: 0.8.0
unplugin-vue-components: ^30.0.0
vite: ^8.0.0-beta.8
vite: 8.0.0-beta.11
vite-plugin-dts: ^4.5.4
vite-plugin-html: ^3.2.2
vite-plugin-vue-devtools: ^8.0.0

View File

@@ -199,7 +199,17 @@ export default defineConfig({
'/ws': {
target: DEV_SERVER_COMFYUI_URL,
ws: true,
...cloudProxyConfig
...cloudProxyConfig,
configure: (proxy) => {
const ignoreEconn = (err: NodeJS.ErrnoException) => {
if (err.code === 'ECONNRESET' || err.code === 'ECONNABORTED') return
console.error(err)
}
proxy.on('error', ignoreEconn)
proxy.on('proxyReqWs', (_proxyReq, _req, socket) => {
socket.on('error', ignoreEconn)
})
}
},
'/workflow_templates': {
@@ -442,11 +452,9 @@ export default defineConfig({
'console.trace'
]
},
experimental: {
strictExecutionOrder: true
},
output: {
keepNames: true,
strictExecutionOrder: true,
codeSplitting: {
groups: [
{