firegex/frontend/vite.config.ts
2026-07-23 16:53:09 +02:00

16 lines
409 B
TypeScript

import react from '@vitejs/plugin-react';
import svgrPlugin from 'vite-plugin-svgr';
import { defineConfig } from 'vite';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), svgrPlugin()],
resolve: {
tsconfigPaths: true,
},
server: {
// Allows reading ../fgex-lib/README.md (the nfproxy docs source) from outside the project root
fs: { allow: ['..'] },
},
})