-
Notifications
You must be signed in to change notification settings - Fork 1
/
pwa.config.mjs
45 lines (43 loc) · 1.06 KB
/
pwa.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import pkg from "./package.json" assert { type: "json" };
const config = {
key: "pwa-template",
version: pkg.version,
path: "/pwa/",
appName: "PWA Template",
appShortName: "PWA",
appTitle: "PWA template",
appDescription: "PWA template with Next.js and MUI",
developerName: "Gregor Adams",
developerURL: "https://github.com/pixelass",
dir: "auto",
lang: "en",
background: "#121212",
theme_color: "#0097A7",
appleStatusBarStyle: "black",
display: "standalone",
orientation: "portrait",
scope: "/",
start_url: "/",
pixel_art: false,
loadManifestWithCredentials: false,
manifestMaskable: true,
preferRelatedApplications: false,
relatedApplications: undefined,
icons: {
// Platform Options:
// - offset - offset in percentage
// - background:
// * false - use default
// * true - force use default, e.g. set background for Android icons
// * color - set background for the specified icons
//
android: true,
appleIcon: true,
appleStartup: true,
favicons: true,
windows: false,
yandex: false,
},
shortcuts: [],
};
export default config;