Giter Site home page Giter Site logo

Support manifest v3 about finch-graphql HOT 3 CLOSED

jcblw avatar jcblw commented on July 29, 2024
Support manifest v3

from finch-graphql.

Comments (3)

jcblw avatar jcblw commented on July 29, 2024

closed in

#172

Just to explain what we did to support v3.

We migrated off webextension-toolbox. There is only a small configuration to get Webpack to work. Even used the library as an example of what needed to be done.

We now have full control of the extension webpack compilation. I actually removed the paths to ./scripts this made service workers work in the current Chrome versions.

I had to bump minimum_chrome_version to 88.

Lastly with the polyfill. The actual error was coming from webextension-toolbox so with full control I used this instead of window on the replacement loader. This worked in the background file, as well as the client.

Looking forward to start working with a v3 extension.

from finch-graphql.

here-nerd avatar here-nerd commented on July 29, 2024

@jcblw thank you for sharing how you overcome the current limitation of webextension-toolbox. Is there any chance that your solution would be integrated back webextension-toolbox so that everyone does not have to repeat the same fix by themselves?

from finch-graphql.

jcblw avatar jcblw commented on July 29, 2024

@jcblw thank you for sharing how you overcome the current limitation of webextension-toolbox. Is there any chance that your solution would be integrated back webextension-toolbox so that everyone does not have to repeat the same fix by themselves?

A majority of the changes are pretty small. I think the only large one would be the change to how hot reloading works in terms of injecting the script into the bundle instead of appending to the background script.

Ill make a few PRs this weekend to start the process. 😁

from finch-graphql.

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.