vue-cli-plugin-browser-extension
vue-cli-plugin-browser-extension copied to clipboard
manifest.json not copying correctly
Describe the bug When I build in dev mode using npm run serve, the manifest copies across, but not all of the attributes from the original in src/manifest.json are present. Some of which are required by chrome to import the extension.
To Reproduce npm run serve
Expected behavior I expect the manifest.json which is copied to have the attributes which are defined in the original
Screenshots
Original manifest:

Build manifest:

| Name | Version |
|---|---|
| vue-cli-plugin-browser-extension | 0.1.0 |
| Operating System | Windows 10 |
| Node | 16.0.0 |
| NPM/Yarn | 7.10.0 |
| vue-cli | 5.0.8 |
| vue-cli-service | 5.0.0 |
| browser | chrome |
Additional Context
Also when I try adding attributes using the manifestTransformer in vue.config.js it doesn't make any different
same me ...
just kind of glancing at this, I think you may have a conflict with the PWA add on and this one. Both will export a manifest.json file. The current recommendation is to use a monorepo structure to share your code across build targets, but allow for keeping different builds/entrypoints in place for your extension code and your web app code