-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable specifying multiple manifests for different target browsers #13
Comments
especially support different manifest for different browser |
Also version this feature to support v2 and v3 manifest for chrome |
Regarding the manifests, allow specifying multiple build commands such that part of the build configuration is explicit path to manifest (it is there already but you can only have 1 build config in package.json). If the manifest is not specified, then use default. Then it would be possible to do, e.g. Possible strategy: add a flag to the build command so under the hood This should be a backwards compatible implementation, first introduced in the build, then added to the create command for new extensions. For new extensions would make sense to create manifest directory either at
Moving the configuration per target to #7. This issue should be just about manifests. Scope is chrome, ff, opera, edge. |
I am closing this because there are two working strategies to handle this:
It is my experience the primary need is to customize the manifest between firefox vs. all the others; not every single target browser so the listed strategies are sufficient. |
Is your feature request related to a problem? Please describe.
The use case is this: I have some extension source, and I want to compile it for different browsers. The core src should be the same but perhaps some configs change between builds. This is especially the case with chrome and edge.
Current workaround is have browser specific build config file for each target
Describe the solution you'd like
I would like to be able to do this in the project root directory instead, and configure different builds, e.g.
npm run build:chrome
,npm run build:edge
and then specify which files need to go in each bundle.The text was updated successfully, but these errors were encountered: