Skip to content

Commit 58a9569

Browse files
committed
fix: correct typo in Vite configuration dependency list
- Updated 'zustant' to 'zustand' in the optimizeDeps include array for accurate dependency management.
1 parent e121323 commit 58a9569

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export default defineConfig(({ mode }) => {
111111
},
112112
// 优化依赖预构建(仅保留首屏关键依赖,非首屏大型库由路由懒加载自然按需加载)
113113
optimizeDeps: {
114-
include: ['react', 'react-dom', 'antd', 'dayjs', 'axios', '@tanstack/react-query', 'react-router', 'zustant'],
114+
include: ['react', 'react-dom', 'antd', 'dayjs', 'axios', '@tanstack/react-query', 'react-router', 'zustand'],
115115
},
116116
// 服务器配置以及代理
117117
server: {

0 commit comments

Comments
 (0)