UNPKG

@elken/next-offline

Version:

<h1 align="center"> next-offline </h1>

18 lines (15 loc) 382 B
module.exports = (nextConfig = {}) => { return Object.assign({}, nextConfig, { webpack (config, options) { const newOptions = { ...options, isServer: false, dev: false } if (typeof nextConfig.webpack === 'function') { return nextConfig.webpack(config, newOptions); } return config; } }) }