UNPKG

706 BJavaScriptView Raw
1import { load } from '../'
2import path from 'path'
3
4module.exports = module.exports.default = load('manifest', {
5 name: 'Mhy Progressive Web App',
6 short_name: 'MhyPWA',
7 description: 'Mhy awesome Progressive Web App!',
8 background_color: '#336699',
9 crossorigin: 'use-credentials', //can be null, use-credentials or anonymous
10 icons: [
11 {
12 src: path.resolve(__dirname, '../../manifest', './logo-512.png'),
13 sizes: [96, 128, 192, 256, 384, 512] // multiple sizes
14 },
15 {
16 src: path.resolve(__dirname, '../../manifest', './logo-1024.png'),
17 size: '1024x1024' // you can also use the specifications pattern
18 }
19 ]
20})