mirror of
https://ghproxy.net/https://github.com/abhijitb/helix.git
synced 2025-08-28 11:42:38 +08:00
16 lines
309 B
JavaScript
16 lines
309 B
JavaScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
build: {
|
|
outDir: 'build',
|
|
emptyOutDir: true,
|
|
rollupOptions: {
|
|
input: 'src/App.jsx',
|
|
output: {
|
|
entryFileNames: 'index.js'
|
|
}
|
|
}
|
|
}
|
|
});
|