Hideout/vite.config.ts

19 lines
429 B
TypeScript
Raw Normal View History

2023-04-13 06:56:25 +00:00
import { defineConfig } from 'vite';
import solidPlugin from 'vite-plugin-solid';
import suidPlugin from "@suid/vite-plugin";
export default defineConfig({
plugins: [solidPlugin(),suidPlugin()],
server: {
port: 3000,
proxy: {
'/api': 'http://localhost:8080'
}
},
root: './src/main/web',
build: {
target: 'esnext',
outDir: '../resources/static',
},
});