Closed Bobgy closed 4 years ago
changed my implementation, now there's fewer changes needed, I just need to change 'install' event implementation
there's still some failure for eslint, which I think is related to my new usage of importing a node_module in templates. I'll try to figure out correct configuration later, but I get more confidence in the new implementation
and I should add new browser test for the dynamic publicPath, will get back to it when I get time
holy crap, accidentally saw this, https://stackoverflow.com/questions/38835273/when-does-code-in-a-service-worker-outside-of-an-event-handler-run I think my implementation is wrong, going to revise on it
this version works for me, but the configuration around publicPath seems really complicated to me, I cannot really add my option to other possible configs
need some help on that
@Bobgy
Thanks for your contribution. I do not have the capacity (time and knowhow) to provide any meaningful feedback regarding your implementation, but I can tell you put some time into this PR, so wanted to tell you that your effort is appreciated, thanks!
@NekR could we give some feedback to let @Bobgy know if this is a feature we are even interested in, to let him know if it's worth pursuing further?
Looks like maintainer doesn't have capacity to review this.
this is a prototype for dynamic publicPath. I got it working for my use case, but it may not work together with other options.
and for FYI, my usage of OfflinePlugin looks like
add feature #184