mirror of
https://github.com/aljazceru/goose.git
synced 2026-01-03 06:24:30 +01:00
17 lines
376 B
TypeScript
17 lines
376 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import { resolve } from 'path';
|
|
|
|
// https://vitejs.dev/config
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
base: './',
|
|
build: {
|
|
rollupOptions: {
|
|
input: {
|
|
main: resolve(__dirname, 'src/main.ts'),
|
|
index: resolve(__dirname, 'index.html'),
|
|
},
|
|
},
|
|
},
|
|
}); |