mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
34 lines
720 B
TypeScript
34 lines
720 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({
|
|
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"
|
|
}})
|
|
*/} |