NekR / offline-plugin

Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)
MIT License
4.52k stars 294 forks source link

Respect __webpack_public_path__ (dynamic public paths) #471

Closed caseyWebb closed 1 year ago

caseyWebb commented 4 years ago

A much simpler solution for #151, #184 (#418).

When using relative paths, this ensures sw.js itself is loaded correctly.


To use a dynamic/runtime public path, set webpack's __webpack_public_path__ global and set relativePaths: true in the offline-plugin config.

caseyWebb commented 1 year ago

This project appears abandoned, closing