You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:120:11)
at Object.resolve (path.js:980:7)
at afterResolveFn (/home/circleci/project/node_modules/offline-plugin/lib/index.js:213:42)
Uh oh!
There was an error while loading. Please reload this page.
Currently we use offline-plugin, but it's not updated for 2 years, it looks unmaintained, and from our work in #3124 we discovered it doesn't support Webpack v5: fails with:
Therefore we should migrate to workbox.
Workbox has some webpack plugin to find all files handled by webpack. I'm not sure this is strictly needed, but maybe it is.
We need to keep this behavior:
We also need to rework the behavior as used by ServiceWorkerManager.js. It's pretty well self-contained, so this should be doable.
The text was updated successfully, but these errors were encountered: