Skip to content

Commit

Permalink
chore(code-docs): fixed code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DuCanhGH committed Jan 11, 2024
1 parent 6fa17c9 commit feccbaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-pwa/src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export const createContext = (
userOptions: PluginOptions,
): NextPwaContext => {
// Do NOT use resolvedNextConfig here.
// Its `webpack` function is a function with all plugins called,
// Its `webpack` function is the resulting function of calling all plugins,
// including ours. Calling it will cause an infinitely recursive call.
if (typeof userNextConfig.webpack === "function") {
webpackConfig = userNextConfig.webpack(webpackConfig, options);
Expand Down

0 comments on commit feccbaf

Please sign in to comment.