vue-cli-plugin-browser-extension icon indicating copy to clipboard operation
vue-cli-plugin-browser-extension copied to clipboard

Add support for manifest-v3 Content Security Policy

Open buck-ross opened this issue 4 years ago • 0 comments

See #130 for discussion of the underlying issue. Given that this PR implements new functionality necessary for supporting manifest-v3 without detracting from any existing functionality, I feel it makes sense to include this in version 0.26.

Description

The new function to compute defaults for the manifest file should be able to maintain the old defaults for manifest-v2 exactly as they were, while also allowing manifest-v3 compatible CSP objects.

The function will also emit a warning when an unsupported manifest version is encountered, but for the sake of future-proofing, no errors are emitted, and the compiler process is not halted.

Checks

  • [X] yarn run eslint .
  • [X] yarn test

buck-ross avatar Sep 05 '21 20:09 buck-ross