sw-appcache-behavior
sw-appcache-behavior copied to clipboard
Is there any demo to see this in action?
Is there any demo page where I can see how it works? I tried to follow the instructions on the readme file, but first there is no index.mjs file for the window client library, just index.umd.js. Then, if I try to import from that file as described in the readme file, I get "The requested module '../appcache-polyfill-window/build/index.umd.js' does not provide an export named 'init'"
The best demo is the test cases under https://github.com/GoogleChromeLabs/sw-appcache-behavior/tree/master/tests/static
I'm not sure why you're not seeing the index.mjs file; it does appear to be published as part of the v0.1.0 release, in the correct directory:
https://unpkg.com/[email protected]/build/index.mjs