scrummie-poker/vite.config.ts

22 lines
384 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
build: {
rollupOptions: {
output: {
manualChunks: {
RichEditor: ['src/components/RichEditor'],
},
},
},
},
resolve: {
alias: {
src: '/src',
},
},
});