20 lines
378 B
TypeScript
20 lines
378 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
base: './',
|
|
build: {
|
|
outDir: 'dist',
|
|
},
|
|
server: {
|
|
port: 5173,
|
|
watch: {
|
|
ignored: ['**/extensions/**', '**/node_modules/**'],
|
|
},
|
|
},
|
|
optimizeDeps: {
|
|
entries: ['index.html', 'src/**/*.tsx', 'src/**/*.ts'],
|
|
},
|
|
})
|