diff --git a/next.config.js b/next.config.js index 98f091f..f04ff50 100644 --- a/next.config.js +++ b/next.config.js @@ -1,7 +1,7 @@ -const { PHASE_DEVELOPMENT_SERVER } = require('next/constants') -const withOffline = require('next-offline') +// const { PHASE_DEVELOPMENT_SERVER } = require('next/constants') +// const withOffline = require('next-offline') -module.exports = (phase /* { defaultConfig } */) => { +module.exports = (/* phase, { defaultConfig } */) => { const config = { exportPathMap() { return { @@ -18,9 +18,5 @@ module.exports = (phase /* { defaultConfig } */) => { } } - if (phase === PHASE_DEVELOPMENT_SERVER) { - return config - } - - return withOffline(config) + return config }