16 lines
323 B
TypeScript
16 lines
323 B
TypeScript
/// <reference types="vitest" />
|
|
|
|
import { resolve } from 'node:path'
|
|
|
|
import react from '@vitejs/plugin-react'
|
|
import { defineConfig } from 'vite'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
publicDir: resolve(__dirname, '../public'),
|
|
server: {
|
|
open: './index.html',
|
|
},
|
|
})
|