mirror of
https://github.com/volcengine/OpenViking.git
synced 2026-09-30 09:17:51 +08:00
* feat(web-studio): add scheduled resource sync * feat(web-studio): complete watch management workflow * fix(web-studio): refine watch management workflow * fix(web-studio): recover watch sync progress polling * fix(web-studio): expose watch edit action
25 lines
630 B
TypeScript
25 lines
630 B
TypeScript
import { defineConfig } from 'vite'
|
|
import { devtools } from '@tanstack/devtools-vite'
|
|
import tsconfigPaths from 'vite-tsconfig-paths'
|
|
|
|
import { tanstackRouter } from '@tanstack/router-plugin/vite'
|
|
|
|
import viteReact from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
const config = defineConfig({
|
|
plugins: [
|
|
devtools(),
|
|
tsconfigPaths({ projects: ['./tsconfig.json'] }),
|
|
tailwindcss(),
|
|
tanstackRouter({
|
|
target: 'react',
|
|
autoCodeSplitting: true,
|
|
routeFileIgnorePattern: '(resource-upload|task-model|route\\.test)\\.',
|
|
}),
|
|
viteReact(),
|
|
],
|
|
})
|
|
|
|
export default config
|