diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-12-09 23:49:07 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-12-11 12:18:43 +0100 |
commit | 280a3fab74348697429b7bab56b3436968113d79 (patch) | |
tree | e1603153db18f7f35c1bcceb03462409f75002db /subprojects/frontend/config/manifest.ts | |
parent | refactor(frontend): lazy load XtextClient (diff) | |
download | refinery-280a3fab74348697429b7bab56b3436968113d79.tar.gz refinery-280a3fab74348697429b7bab56b3436968113d79.tar.zst refinery-280a3fab74348697429b7bab56b3436968113d79.zip |
refactor(frontend): split vite config
Also introduces tsconfig.shared.json to keep track of source files used
both and build time and in the browser.
Diffstat (limited to 'subprojects/frontend/config/manifest.ts')
-rw-r--r-- | subprojects/frontend/config/manifest.ts | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/subprojects/frontend/config/manifest.ts b/subprojects/frontend/config/manifest.ts new file mode 100644 index 00000000..3cec777c --- /dev/null +++ b/subprojects/frontend/config/manifest.ts | |||
@@ -0,0 +1,40 @@ | |||
1 | import type { ManifestOptions } from 'vite-plugin-pwa'; | ||
2 | |||
3 | const manifest: Partial<ManifestOptions> = { | ||
4 | lang: 'en-US', | ||
5 | name: 'Refinery', | ||
6 | short_name: 'Refinery', | ||
7 | description: 'An efficient graph sovler for generating well-formed models', | ||
8 | theme_color: '#f5f5f5', | ||
9 | display_override: ['window-controls-overlay'], | ||
10 | display: 'standalone', | ||
11 | background_color: '#21252b', | ||
12 | icons: [ | ||
13 | { | ||
14 | src: 'icon-192x192.png', | ||
15 | sizes: '192x192', | ||
16 | type: 'image/png', | ||
17 | purpose: 'any maskable', | ||
18 | }, | ||
19 | { | ||
20 | src: 'icon-512x512.png', | ||
21 | sizes: '512x512', | ||
22 | type: 'image/png', | ||
23 | purpose: 'any maskable', | ||
24 | }, | ||
25 | { | ||
26 | src: 'icon-any.svg', | ||
27 | sizes: 'any', | ||
28 | type: 'image/svg+xml', | ||
29 | purpose: 'any maskable', | ||
30 | }, | ||
31 | { | ||
32 | src: 'mask-icon.svg', | ||
33 | sizes: 'any', | ||
34 | type: 'image/svg+xml', | ||
35 | purpose: 'monochrome', | ||
36 | }, | ||
37 | ], | ||
38 | }; | ||
39 | |||
40 | export default manifest; | ||