Skip to content

Commit

Permalink
Merge pull request #372 from Lukasdotcom/master
Browse files Browse the repository at this point in the history
Allows all PWA options to work
  • Loading branch information
shadowwalker authored Aug 21, 2022
2 parents fd15203 + 23e1a01 commit c3d6836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3d6836

Please sign in to comment.