From 23e1a0165defb520f82582d3a676dd595f6d6f48 Mon Sep 17 00:00:00 2001 From: Lukasdotcom Date: Thu, 28 Jul 2022 09:05:54 -0400 Subject: [PATCH] Fixes disable option --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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