We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a593cfb commit ac7b676Copy full SHA for ac7b676
docs/guide/essentials/content-scripts.md
@@ -80,16 +80,16 @@ To create a standalone content script that only includes a CSS file:
80
// wxt.config.ts
81
export default defineConfig({
82
hooks: {
83
- "build:manifestGenerated": (wxt, manifest) => {
+ 'build:manifestGenerated': (wxt, manifest) => {
84
manifest.content_scripts ??= [];
85
manifest.content_scripts.push({
86
// Build extension once to see where your CSS get's written to
87
- css: ["content-scripts/example.css"],
88
- matches: ["*://*/*"]
89
- )
90
- }
91
92
- })
+ css: ['content-scripts/example.css'],
+ matches: ['*://*/*'],
+ });
+ },
93
```
94
95
## UI
0 commit comments