fix: add vite optimizeDeps for zustand ESM compatibility (v1.0.4)

This commit is contained in:
陈海富
2026-01-31 19:23:19 +08:00
parent 935506482e
commit 43b6420103
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "cfspider-browser",
"version": "1.0.3",
"version": "1.0.4",
"description": "CFspider 智能浏览器 - AI驱动的可视化爬虫自然语言控制浏览器自动化",
"keywords": [
"browser",

View File

@@ -10,6 +10,9 @@ export default defineConfig({
'@': resolve(__dirname, 'src')
}
},
optimizeDeps: {
include: ['zustand', 'use-sync-external-store/shim/with-selector']
},
build: {
outDir: 'dist',
emptyOutDir: true