UNPKG

@mhy/config

Version:

> This documentation is not complete. It's in progress and it's a BETA version. Use the tool at your own risk.

21 lines (19 loc) 706 B
import { load } from '../' import path from 'path' module.exports = module.exports.default = load('manifest', { name: 'Mhy Progressive Web App', short_name: 'MhyPWA', description: 'Mhy awesome Progressive Web App!', background_color: '#336699', crossorigin: 'use-credentials', //can be null, use-credentials or anonymous icons: [ { src: path.resolve(__dirname, '../../manifest', './logo-512.png'), sizes: [96, 128, 192, 256, 384, 512] // multiple sizes }, { src: path.resolve(__dirname, '../../manifest', './logo-1024.png'), size: '1024x1024' // you can also use the specifications pattern } ] })