Keep folder selection stable across refreshes, surface upload failures more clearly, and add focused composable tests for the knowledge page. This keeps newly uploaded files visible and makes MinerU dependency errors easier to understand from the frontend. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
284 B
TypeScript
16 lines
284 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import path from 'path'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
},
|
|
},
|
|
test: {
|
|
environment: 'jsdom',
|
|
},
|
|
})
|