mirror of
https://ghproxy.com/https://github.com/StreakingMan/solvable-sheep-game
synced 2025-05-23 06:19:44 +08:00
20 lines
365 B
TypeScript
20 lines
365 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
root: 'diy',
|
|
publicDir: './public',
|
|
build: {
|
|
outDir: 'diy-dist',
|
|
},
|
|
define: {
|
|
__DIY__: true,
|
|
},
|
|
server: {
|
|
host: true,
|
|
port: 5556,
|
|
},
|
|
});
|