diff --git a/index.js b/index.js index 5ae40cde..70932ac5 100644 --- a/index.js +++ b/index.js @@ -20,7 +20,7 @@ module.exports = (nextConfig = {}) => { webpack, buildId, dev, - config: { distDir = '.next', pwa = {}, pageExtensions = ['tsx', 'ts', 'jsx', 'js', 'mdx'], experimental = {} } + config: { distDir = '.next', pwa = nextConfig.pwa, pageExtensions = ['tsx', 'ts', 'jsx', 'js', 'mdx'], experimental = {} } } = options let basePath = options.config.basePath