You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/essentials/entrypoints.md
+14-3
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ For web extensions, there are two types of entrypoints:
28
28
-**Listed**: Referenced in the `manifest.json`
29
29
-**Unlisted**: Not referenced in the `manifest.json`
30
30
31
-
Throughout the rest of WXT's documentation, listed files are referred to by name. For example:
31
+
Throughout the rest of WXT's documentation, listed entrypoints are referred to by name. For example:
32
32
33
33
- Popup
34
34
- Options
@@ -42,7 +42,7 @@ Some examples of "unlisted" entrypoints:
42
42
- JS files injected by content scripts into the page's main world
43
43
44
44
:::tip
45
-
Regardless of whether a entrypoint is listed or unlisted, it will still be bundled into your extension and be available at runtime.
45
+
Regardless of whether an entrypoint is listed or unlisted, it will still be bundled into your extension and be available at runtime.
46
46
:::
47
47
48
48
## Adding Entrypoints
@@ -72,7 +72,7 @@ Refer to the [Entrypoint Types](#entrypoint-types) section for the full list of
72
72
73
73
## Defining Manifest Options
74
74
75
-
Most listed entrypoints have options that need to be added to the `manifest.json`. With WXT however, instead of defining the options in a separate file, _you define these options inside the entrypoint file itself_.
75
+
Most listed entrypoints have options that need to be added to the `manifest.json`. However with WXT, instead of defining the options in a separate file, _you define these options inside the entrypoint file itself_.
76
76
77
77
For example, here's how to define `matches` for content scripts:
0 commit comments