remove next-offline for now

main
Mike Fix 6 years ago
parent 5b80d2a7bf
commit 23e5524d2a

@ -1,7 +1,7 @@
const { PHASE_DEVELOPMENT_SERVER } = require('next/constants') // const { PHASE_DEVELOPMENT_SERVER } = require('next/constants')
const withOffline = require('next-offline') // const withOffline = require('next-offline')
module.exports = (phase /* { defaultConfig } */) => { module.exports = (/* phase, { defaultConfig } */) => {
const config = { const config = {
exportPathMap() { exportPathMap() {
return { return {
@ -18,9 +18,5 @@ module.exports = (phase /* { defaultConfig } */) => {
} }
} }
if (phase === PHASE_DEVELOPMENT_SERVER) {
return config return config
} }
return withOffline(config)
}

Loading…
Cancel
Save