sky/frontend/vite.config.js
root 6ed55254a0 chore: initial import of sky project
Go + PostgreSQL + Valkey backend (cmd/internal/migrations),
uni-app mobile frontend, PC web (web/), admin console (admin/),
Android WebView container (android_project/).
Build artifacts, node_modules, local env and debug screenshots excluded.
2026-11-09 22:22:44 +08:00

15 lines
342 B
JavaScript

import { defineConfig } from 'vite';
import uniPlugin from '@dcloudio/vite-plugin-uni';
const uni = typeof uniPlugin === 'function' ? uniPlugin : (uniPlugin.default || uniPlugin);
// https://vitejs.dev/config/
export default defineConfig({
plugins: [uni()],
server: {
host: '0.0.0.0',
port: 5173,
strictPort: true,
},
});