Files
mc-computer-craft-api-frontend/vite.config.ts
T
2026-05-26 12:27:23 +02:00

18 lines
418 B
TypeScript

import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import basicSsl from '@vitejs/plugin-basic-ssl';
// `basicSsl` generates a self-signed certificate so the dev server and
// `vite preview` both serve over HTTPS out of the box.
export default defineConfig({
plugins: [vue(), basicSsl()],
server: {
host: true,
port: 5173,
},
preview: {
host: true,
port: 4173,
},
});