Comments (5)
This is already being worked on
from webpack-webextension-plugin.
@jchnxu 0.4.1 is not the latest
https://www.npmjs.com/package/webpack-webextension-plugin is at 1.0.0 (Not scoped, old but newer than what you have)
https://www.npmjs.com/package/@webextension-toolbox/webpack-webextension-plugin is at 2.0.3 and is the scoped version (latest)
But however the scripts generates a background.scripts field which prevents testing. I'll have to modify the source code anyway.
Only in development, if you don't want this then use the --no-auto-reload
flag in 2.0.3
from webpack-webextension-plugin.
my hack, for anyone googled here
from webpack-webextension-plugin.
You can also use the scoped package which is the fixed version: npm i @webextension-toolbox/webextension-toolbox
and/or https://github.com/webextension-toolbox/webpack-webextension-plugin#skipmanifestvalidation
from webpack-webextension-plugin.
I tried 0.4.1 (latest) but it does not work. Guess I'll need to use #skipmanifestvalidation
But however the scripts generates a background.scripts field which prevents testing. I'll have to modify the source code anyway.
from webpack-webextension-plugin.
Related Issues (16)
- support webpack 5
- Handle DEP_WEBPACK_COMPILATION_ASSETS HOT 1
- better error messages when manifest.json is invalid HOT 2
- Not working with [email protected] HOT 1
- Uncaught TypeError: Cannot read property 'some' of undefined HOT 3
- Support for browser pages HOT 5
- Localized strings are now being removed from manifest.json HOT 1
- update dependencies HOT 1
- Hardcoded service_worker file breaks when using custom service_worker
- Schema for manifest validation is out of date HOT 6
- Manifest.json custom path HOT 2
- Plugin skips service worker script map HOT 1
- Is it possible to set the content scripts file name? HOT 5
- Deprecation warning with Webpack 5.28.0
- Can't connect to WS server via WSL 2 HOT 1
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 webpack-webextension-plugin.