next-offline icon indicating copy to clipboard operation
next-offline copied to clipboard

"globPatterns" is not a supported parameter while it actually is

Open wilmervanheerde opened this issue 4 years ago • 1 comments

  • Version: 5.0.2
  • Config:
generateSw: false,
workboxOpts: {
    globPatterns: 'public/**/*'
},

Error message is:

Please check your InjectManifest plugin configuration:
"globPatterns" is not a supported parameter.

Workbox documentation actually specifies this parameter for InjectManifest config https://developers.google.com/web/tools/workbox/reference-docs/latest/module-workbox-build#.injectManifest

Is this due to a difference in the Workbox version used for next-offline?

wilmervanheerde avatar Jul 06 '20 13:07 wilmervanheerde

Is there a way to solve this issue? I'm encountering the same

kchangch avatar Aug 08 '22 22:08 kchangch