Skip to content

Commit

Permalink
docs: Add paragraph on adding permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
aklinker1 committed Dec 22, 2024
1 parent 2b07b4b commit 1a72a0c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/guide/essentials/config/manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ Alternatively, you can use [`@wxt-dev/auto-icons`](https://www.npmjs.com/package

> [Chrome docs](https://developer.chrome.com/docs/extensions/reference/permissions/)
Most of the time, you need to manually add permissions to your manifest. Only in a few specific situations are permissions added automatically:

- During development: the `tabs` and `scripting` permissions will be added to enable hot reloading.
- When a `sidepanel` entrypoint is present: The `sidepanel` permission is added.

```ts
export default defineConfig({
manifest: {
Expand Down

0 comments on commit 1a72a0c

Please sign in to comment.