diff --git a/index.js b/index.js index ed19af1..501d284 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ const workboxPlugin = require('workbox-webpack-plugin') const defaultGenerateConfig = { exclude: [/\.map$/, /^(?:asset-)manifest.*\.js(?:on)?$/], navigateFallback: '/index.html', - navigateFallbackBlacklist: [ + navigateFallbackDenylist: [ new RegExp('^/__'), new RegExp('/[^/]+\.[^/]+$'), ], diff --git a/package.json b/package.json index db5f06c..3c84e42 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "author": "David Moodie", "license": "MIT", "peerDependencies": { - "workbox-webpack-plugin": "^3.0.0", + "workbox-webpack-plugin": "*", "react-app-rewired": "*" }, "repository": {