offline-plugin
offline-plugin copied to clipboard
Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)
I had the problem that my code editor (vs-code) did not recognize the right format of the template files highlighted a lot of syntax-problems. I would prefer to use the...
I have `appShell` option configured: ```js appShell: '/', ``` generated manifest: ``` CACHE MANIFEST #ver:2018-4-15 02:02:43 #plugin:4.9.0 CACHE: /bundles/18f4426789edc9a053f7.worker.js /bundles/1003-1139-1140.lp.ru-8304ca6896f912a71a94.js /bundles/1003-1139-1140-1288.lp.ru-158bd16363e2848602fc.js /bundles/1003-1139-1140.geonames.ru-0db197ba553df3748f0d.js /bundles/1003-1139-1140.geonames.en-1bcf43d7dc55642a1236.js /bundles/1003.lp.ru-57a31de2577ade74cc76.js /bundles/cities15000-8eeebdc8de3eee217bc0.js /bundles/app-9bb92bf87ad5aed4cb67.js /bundles/fonts-e129712248aa27593003.js /bundles/vendor-33d2c45daef7f3aece84.js /bundles/../ NETWORK:...
Hi, we're having an issue with this plugin. Our webpack build generates various assets: `.js`, `.css`, `.svg`, `.png` all served from a `/client` directory. When accessing the page, there are...
I've added the offline-plugin to an Angular 5 application, and everything installs and behaves *almost* exactly as I would expect it to. I'm using Webpack, and I'm using code splitting...
When using with [webpack-dashboard](https://github.com/FormidableLabs/webpack-dashboard), I get the following error: ``` ... webpack: Compiled successfully. Worker error Error: No code sections found at Bundle.validate (/Users/.../test_with_offline_plugin/node_modules/inspectpack/lib/models/bundle.js:54:11) at createBundle (/Users/.../test_with_offline_plugin/node_modules/inspectpack/lib/models/bundle.js:262:12) at Immediate.setImmediate [as...
The main domain name of my website is https://a.myhost.com/. When I set up the external link https://b.myhost.com/.., I added mode: 'no-cors'. After I refreshed the page, the console reported an...
I'd like to use this feature to embed some environment variables in my custom entry module with `EnvironmentPlugin`. I have optional `CDN_HOST` environment variable to determine an object storage in...
If filename is specified as `filename: '../index.html'`, generated file path may be `/bundles/../`. Technically it isn't wrong, but who knows. See: https://github.com/NekR/offline-plugin/issues/356
There's currently the option of using either cache first or network first, but it would be great if in addition to these, there was a "cache only" strategy that failed...