utopia-ui/vite.config.ts

37 lines
752 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// vite.config.js
import { VitePWA } from 'vite-plugin-pwa'
// https://vitejs.dev/config/
export default defineConfig({
server: {
port: 5174
},
plugins: [
react()
]
})
{/**
VitePWA({manifest: {
"short_name": "Utopia Game",
"name": "Utopia - A Real Life Manifestation Game",
"icons": [
{
"src": "3markers-globe.svg",
"sizes": "any",
"type": "image/svg+xml"
},
{
"src": "3markers-globe_256.png",
"sizes": "256x256",
"type": "image/png"
},
],
"start_url": "/",
"display": "fullscreen",
"orientation": "natural"
}})
*/}