mirror of
https://github.com/aljazceru/goose.git
synced 2025-12-18 14:44:21 +01:00
18 lines
377 B
TypeScript
18 lines
377 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'),
|
|
},
|
|
},
|
|
},
|
|
});
|