Skip to content

Commit

Permalink
fix: make NextConfig optional
Browse files Browse the repository at this point in the history
  • Loading branch information
DuCanhGH committed Nov 30, 2022
1 parent 1bd64c5 commit 51e8dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const getRevision = (file: fs.PathOrFileDescriptor) =>

const withPWAInit = (
pluginOptions: PluginOptions = {}
): ((_: NextConfig) => NextConfig) => {
): ((_?: NextConfig) => NextConfig) => {
return (nextConfig: NextConfig = {}) => ({
...nextConfig,
...({
Expand Down

0 comments on commit 51e8dd3

Please sign in to comment.