Skip to content

Commit c3d6836

Browse files
authored
Merge pull request #372 from Lukasdotcom/master
Allows all PWA options to work
2 parents fd15203 + 23e1a01 commit c3d6836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = (nextConfig = {}) => {
2020
webpack,
2121
buildId,
2222
dev,
23-
config: { distDir = '.next', pwa = {}, pageExtensions = ['tsx', 'ts', 'jsx', 'js', 'mdx'], experimental = {} }
23+
config: { distDir = '.next', pwa = nextConfig.pwa, pageExtensions = ['tsx', 'ts', 'jsx', 'js', 'mdx'], experimental = {} }
2424
} = options
2525

2626
let basePath = options.config.basePath

0 commit comments

Comments
 (0)