Created
June 29, 2022 18:12
-
-
Save gsans/cc7591722f6939bb4bd060dfde92e0d0 to your computer and use it in GitHub Desktop.
codez056: custom pwa configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const manifest = require('./public/manifest.json') | |
module.exports = { | |
pwa: { | |
name: manifest.short_name, | |
themeColor: manifest.theme_color, | |
msTileColor: manifest.background_color, | |
appleMobileWebAppCapable: 'yes', | |
appleMobileWebAppStatusBarStyle: 'black', | |
workboxPluginMode: 'InjectManifest', | |
workboxOptions: { | |
swSrc: 'src/service-worker.js', | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment