Skip to content

Commit ac7b676

Browse files
authored
docs: Add missing bracket in example (#1367)
1 parent a593cfb commit ac7b676

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/guide/essentials/content-scripts.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,16 @@ To create a standalone content script that only includes a CSS file:
8080
// wxt.config.ts
8181
export default defineConfig({
8282
hooks: {
83-
"build:manifestGenerated": (wxt, manifest) => {
83+
'build:manifestGenerated': (wxt, manifest) => {
8484
manifest.content_scripts ??= [];
8585
manifest.content_scripts.push({
8686
// Build extension once to see where your CSS get's written to
87-
css: ["content-scripts/example.css"],
88-
matches: ["*://*/*"]
89-
)
90-
}
91-
}
92-
})
87+
css: ['content-scripts/example.css'],
88+
matches: ['*://*/*'],
89+
});
90+
},
91+
},
92+
});
9393
```
9494

9595
## UI

0 commit comments

Comments
 (0)