firegex/frontend/vite.config.ts

16 lines
411 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 pyfilters docs source) from outside the project root
fs: { allow: ['..'] },
},
})