doocus first ver

This commit is contained in:
Mariano Gabriel
2026-07-05 10:08:42 -03:00
parent e214b17c55
commit ca8b3a784d
57 changed files with 4167 additions and 56 deletions

View File

@@ -0,0 +1,33 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { fileURLToPath } from 'node:url'
import { meetusApi } from './server/meetusApi'
// Output directory produced by the meetus pipeline. Override with MEETUS_OUTPUT.
const outputDir = process.env.MEETUS_OUTPUT
?? fileURLToPath(new URL('../../output', import.meta.url))
// Optional: where source videos live, if the absolute paths recorded in the
// manifests are not reachable on this machine. Videos are matched by name.
const videoDir = process.env.MEETUS_VIDEO_DIR || undefined
export default defineConfig({
plugins: [vue(), meetusApi({ outputDir, videoDir })],
resolve: {
alias: {
'@framework': fileURLToPath(new URL('../framework/src', import.meta.url)),
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
server: {
fs: {
// Allow the dev server to read the framework source and the output tree.
allow: [
fileURLToPath(new URL('.', import.meta.url)),
fileURLToPath(new URL('../framework', import.meta.url)),
outputDir,
...(videoDir ? [videoDir] : []),
],
},
},
})