feat: 更新版本至 0.0.49,新增 storeList 支持,优化登录缓存,添加 store-auth 和 store-mark 功能
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { buildWithBun } from '@kevisual/code-builder'
|
||||
import { queryList } from './src/get-query-list.ts'
|
||||
import { queryList, storeList } from './src/get-query-list.ts'
|
||||
|
||||
// await buildWithBun({ naming: "app", entry: "query/index.ts", meta: import.meta, dts: true })
|
||||
|
||||
@@ -11,4 +11,15 @@ for (const query of queryList) {
|
||||
target: 'browser',
|
||||
dts: true,
|
||||
})
|
||||
}
|
||||
|
||||
for (const store of storeList) {
|
||||
await buildWithBun({
|
||||
naming: store.name,
|
||||
entry: `store/${store.name}/index.ts`,
|
||||
meta: import.meta,
|
||||
external: ['sonner', 'zustand', '@kevisual/context'],
|
||||
target: 'browser',
|
||||
dts: true,
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user