mirror of https://github.com/usbharu/Hideout.git
19 lines
428 B
TypeScript
19 lines
428 B
TypeScript
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',
|
|
},
|
|
});
|