Skip to content

Commit 1a72a0c

Browse files
committed
docs: Add paragraph on adding permissions
1 parent 2b07b4b commit 1a72a0c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/guide/essentials/config/manifest.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@ Alternatively, you can use [`@wxt-dev/auto-icons`](https://www.npmjs.com/package
156156

157157
> [Chrome docs](https://developer.chrome.com/docs/extensions/reference/permissions/)
158158
159+
Most of the time, you need to manually add permissions to your manifest. Only in a few specific situations are permissions added automatically:
160+
161+
- During development: the `tabs` and `scripting` permissions will be added to enable hot reloading.
162+
- When a `sidepanel` entrypoint is present: The `sidepanel` permission is added.
163+
159164
```ts
160165
export default defineConfig({
161166
manifest: {

0 commit comments

Comments
 (0)