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
Please tell us about your environment:
OSX 10.13.4
Browser:
Chrome 66
Current behavior:
In webpack 4, I can use an external global var to set the path for my app js and chunks by setting __webpack_public_path__.
SW Precache doesn't or can't use this as far as I can tell.
So I have a question - given that by default the service worker will be in the shared output directory, why not use the service worker registration scope to set the cached URLs? For example:
self.registration.scope+'path/to/file.js'
Webpack configuration:
CRA default.
The text was updated successfully, but these errors were encountered:
webpack version:
4.x
sw-precache-webpack-plugin version:
0.11.4
Please tell us about your environment:
OSX 10.13.4
Browser:
Chrome 66
Current behavior:
In webpack 4, I can use an external global var to set the path for my app js and chunks by setting
__webpack_public_path__
.SW Precache doesn't or can't use this as far as I can tell.
So I have a question - given that by default the service worker will be in the shared output directory, why not use the service worker registration scope to set the cached URLs? For example:
CRA default.
The text was updated successfully, but these errors were encountered: