- Changed app title from "AeroTuner" to "K-Tuner" in index.html and vite.config.ts - Updated icon paths in index.html and vite.config.ts to use new icon files - Added new icon files in various sizes (128x128, 144x144, 152x152, 192x192, 256x256, 384x384, 512x512, 48x48, 72x72, 96x96) - Removed old PWA icons (pwa-192x192.png, pwa-512x512.png) - Updated package.json to use a newer version of @types/bun - Excluded test files from TypeScript compilation in tsconfig.app.json - Refactored Header component to display "K-Tuner"
80 lines
2.0 KiB
TypeScript
80 lines
2.0 KiB
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
import { VitePWA } from 'vite-plugin-pwa'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
react({
|
|
babel: {
|
|
plugins: [['babel-plugin-react-compiler']],
|
|
},
|
|
}),
|
|
tailwindcss(),
|
|
VitePWA({
|
|
registerType: 'autoUpdate',
|
|
includeAssets: ['favicon.ico', 'apple-touch-icon.png', 'masked-icon.svg'],
|
|
manifest: {
|
|
"name": "K-Tuner",
|
|
"short_name": "K-Tuner",
|
|
"icons": [
|
|
{
|
|
"src": "icons/icon-48x48.png",
|
|
"sizes": "48x48",
|
|
"type": "image/png"
|
|
},
|
|
{
|
|
"src": "icons/icon-72x72.png",
|
|
"sizes": "72x72",
|
|
"type": "image/png"
|
|
},
|
|
{
|
|
"src": "icons/icon-96x96.png",
|
|
"sizes": "96x96",
|
|
"type": "image/png"
|
|
},
|
|
{
|
|
"src": "icons/icon-128x128.png",
|
|
"sizes": "128x128",
|
|
"type": "image/png"
|
|
},
|
|
{
|
|
"src": "icons/icon-144x144.png",
|
|
"sizes": "144x144",
|
|
"type": "image/png"
|
|
},
|
|
{
|
|
"src": "icons/icon-152x152.png",
|
|
"sizes": "152x152",
|
|
"type": "image/png"
|
|
},
|
|
{
|
|
"src": "icons/icon-192x192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png"
|
|
},
|
|
{
|
|
"src": "icons/icon-256x256.png",
|
|
"sizes": "256x256",
|
|
"type": "image/png"
|
|
},
|
|
{
|
|
"src": "icons/icon-384x384.png",
|
|
"sizes": "384x384",
|
|
"type": "image/png"
|
|
},
|
|
{
|
|
"src": "icons/icon-512x512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png"
|
|
}
|
|
],
|
|
"start_url": "/",
|
|
"display": "standalone",
|
|
"background_color": "#ffffff",
|
|
"theme_color": "#000000"
|
|
}
|
|
})
|
|
],
|
|
})
|