feat: integrate PWA support with @ducanh2912/next-pwa
Configure Progressive Web App capabilities for production builds, enabling offline support and installability. PWA is disabled in dev to avoid HMR conflicts, and switches the build to webpack since PWA tooling requires it.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "cozsweet",
|
||||
"short_name": "cozsweet",
|
||||
"description": "Cozsweet — Your exclusive AI companion",
|
||||
"start_url": "/splash",
|
||||
"scope": "/",
|
||||
"display": "standalone",
|
||||
"orientation": "portrait",
|
||||
"background_color": "#0d0b14",
|
||||
"theme_color": "#f84d96",
|
||||
"lang": "en",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/favicon.ico",
|
||||
"sizes": "any",
|
||||
"type": "image/x-icon",
|
||||
"purpose": "any"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user