scrummie-poker/vite.config.ts

22 lines
384 B
TypeScript
Raw Permalink Normal View History

2024-10-20 11:40:33 +01:00
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
2024-10-05 22:11:55 +01:00
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
2024-10-20 11:40:33 +01:00
build: {
rollupOptions: {
output: {
manualChunks: {
RichEditor: ['src/components/RichEditor'],
},
},
},
},
resolve: {
alias: {
src: '/src',
},
},
});