Created
December 21, 2018 19:35
-
-
Save hanford/5375852981aa3db89abfdc7af46cacfe to your computer and use it in GitHub Desktop.
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 { PHASE_DEVELOPMENT_SERVER } = require('next/constants'); | |
const { withPlugins } = require('next-compose-plugins'); | |
const withManifest = require('next-manifest') | |
const withOffline = require('next-offline') | |
const forceProd = require('./forceProd') | |
const manifest = { | |
"short_name": "next-offline-test-app", | |
"name": "next-offline-test-app", | |
"description": "Reproduce a bug to help fix it", | |
"dir": "ltr", | |
"lang": "en", | |
"icons": [ | |
{ | |
"src": "favicon.ico", | |
"sizes": "64x64 32x32 24x24 16x16", | |
"type": "image/x-icon" | |
} | |
], | |
"start_url": "/", | |
"display": "standalone", | |
"theme_color": "#ffffff", | |
"background_color": "#ffffff" | |
} | |
module.exports = withPlugins([ | |
[withManifest({ manifest })], | |
[withOffline({ dontAutoRegisterSw: true })] | |
]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment