mirror of
https://github.com/violettoolssite/CFspider.git
synced 2026-04-05 03:09:01 +08:00
fix: add vite optimizeDeps for zustand ESM compatibility (v1.0.4)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cfspider-browser",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"description": "CFspider 智能浏览器 - AI驱动的可视化爬虫,自然语言控制浏览器自动化",
|
||||
"keywords": [
|
||||
"browser",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user