react-app-rewire-workbox icon indicating copy to clipboard operation
react-app-rewire-workbox copied to clipboard

Requires a breaking change update introduced by upgrading to Workbox 5

Open jackfruit2 opened this issue 1 year ago • 0 comments

A breaking change update is required to this module to ensure that its compatible with Workbox 5.

See the following error:

Creating an optimized production build...
Failed to compile.

Please check your GenerateSW plugin configuration:
[WebpackGenerateSW] 'navigateFallbackBlacklist' property is not expected to be here. Did you mean property 'navigateFallbackAllowlist'?

I created a PR that fixes the issue in the is module that can be found here: https://github.com/davejm/react-app-rewire-workbox/pull/4

Once I made the change from navigateFallbackBlacklist -> navigateFallbackDenylist it allows the module to be used with v5 of Workbox.

jackfruit2 avatar Aug 14 '22 14:08 jackfruit2