Files
graphfx/graphfx-ui/vite.config.ts

18 lines
328 B
TypeScript

import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
graphfx: fileURLToPath(new URL('..', import.meta.url)),
},
},
server: {
fs: {
allow: ['..'],
},
},
})