17 lines
331 B
JavaScript
17 lines
331 B
JavaScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
base: './',
|
|
build: {
|
|
outDir: 'build',
|
|
emptyOutDir: true,
|
|
},
|
|
server: {
|
|
port: 3001,
|
|
},
|
|
resolve: {
|
|
extensions: ['.jsx', '.js', '.tsx', '.ts', '.json']
|
|
}
|
|
}); |