Comments (4)
Thanks for putting together this great issue! 💯 I'll take a look this afternoon.
This is related to the way we support Rollup's code-splitting, ESM, and wake events for the background page.
The bug is probably here:
https://github.com/extend-chrome/rollup-plugin-chrome-extension/blob/0e51a03ecbca251bfb23c792f9f31ce561fb1e74/src/manifest-input/browser/captureEvents.ts#L18-L26
The event handler needs to return true if the third argument (sendResponse
) is defined.
from chrome-extension-tools.
Whew! 😅 That wasn't as easy as I thought it would be. It took me a few days to get it working according to specs, but we've got it and there are tests written for it. This feature was released in v3.3.0.
@marco-lavagnino This is a valuable addition to this plugin. Thanks again for taking the time to put this issue together.
from chrome-extension-tools.
Wow! What a great work! Is there any way I can send some bucks your way?
from chrome-extension-tools.
Sure! Thanks for the support 😍 . Our donation site is https://ko-fi.com/jacksteam
from chrome-extension-tools.
Related Issues (20)
- unable to run the dev script command HOT 3
- @crxjs/vite-plugin will break the build if build.rollupOptions.inputs added HOT 1
- Example won't work on firefox HOT 3
- [crx:manifest-post] Content script fileName is undefined: "src/content.ts" HOT 3
- Created manifest.json in build is not similar to what was passed using defineManifest in dev mode for Firefox HOT 1
- Build fails when development environment works. HOT 6
- Extensions do not work with Orion browser for iOS HOT 1
- Add support for Edge and Firefox HOT 2
- icons of different sizes are automatically generated during the compilation process HOT 1
- Notification in background script unable to load image in assets HOT 5
- HMR not working HOT 6
- npm run build generated an unnecessary .vite folder HOT 1
- Build fails when using a dynamic css import HOT 1
- Can not HMR an web-accessible-resources HOT 1
- Content Script HMR does not work with CSS Modules
- popup freezes on 'vite dev mode' after switching branches HOT 1
- Rebase Manifest Schema and Types to DefinitelyTyped
- Path contains invalid characters HOT 1
- [crx:content-script-resources] RangeError: Maximum call stack size exceeded HOT 2
- Will pay someone to fix this: Unable to import a .webm file HOT 6
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 chrome-extension-tools.