Coder Social home page Coder Social logo

Comments (8)

NekR avatar NekR commented on August 19, 2024

@mediabakery thanks for reporting this!

Issue happens here https://github.com/NekR/offline-plugin/blob/master/src/service-worker.js#L53 because I do exact check for __offline_serviceworker few lines above, but it of course does not works since you are using hash in chunks. There probably should be a better way to produce fake entries, or I may not need them at all.

Anyway, I will have a fix today.

from offline-plugin.

NekR avatar NekR commented on August 19, 2024

Btw, in your case, do you want ServiceWorker output file to have hash in its name?

from offline-plugin.

mediabakery avatar mediabakery commented on August 19, 2024

@NekR Thanks! Yes you are right. I don't need to hash the serviceWorker file name.

from offline-plugin.

NekR avatar NekR commented on August 19, 2024

@mediabakery I just pushed the fix, it works for me, but can you try it before I publish it to npm?

To test latest update, install offline-plugin directly from GitHub repo:
npm install https://github.com/NekR/offline-plugin

from offline-plugin.

mediabakery avatar mediabakery commented on August 19, 2024

@NekR Thanks! I'll test it as soon as possible!

from offline-plugin.

mediabakery avatar mediabakery commented on August 19, 2024

Hey @NekR. It works for me as expected. Thanks!

from offline-plugin.

NekR avatar NekR commented on August 19, 2024

Great, thanks for reporting this one!

from offline-plugin.

NekR avatar NekR commented on August 19, 2024

Published on npm

from offline-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.