Comments (3)
closed in
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.
@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 thank you for sharing how you overcome the current limitation of
webextension-toolbox
. Is there any chance that your solution would be integrated backwebextension-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)
- Message tab, rewrite using connections. HOT 1
- new Firefox types leaking
- Connection based message tab losing connection
- Devtool's management extension enabled state HOT 1
- Commas are invisible in devtools.
- Support for subscriptions HOT 2
- When using the `useQuery` hook errors get cached. HOT 1
- Timelines for messages in devtools HOT 2
- Peer dependencies seems to break schema creation. HOT 7
- Need READMEs for specific packages. HOT 2
- Context type does not always have access to sender. HOT 3
- Create Extension for an interactive demo on doc site.
- Codegen, generated types missing polling options
- React: Type for loading on hook is Boolean not boolean. HOT 1
- Send timestamp with initial request.
- Timeout should be able to be configured per call. HOT 1
- Cross-platform devtools in electron app. HOT 2
- Need documentation around new reconnect port funtionality.
- Finch Client port connections on external sites.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from finch-graphql.