Repository navigation
feat(modules): Add support for augumenting entrypoint options - #2149
Merged
Merged
Conversation
✅ Deploy Preview for creative-fairy-df92c4 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
@wxt-dev/analytics
@wxt-dev/auto-icons
@wxt-dev/browser
@wxt-dev/i18n
@wxt-dev/module-react
@wxt-dev/module-solid
@wxt-dev/module-svelte
@wxt-dev/module-vue
@wxt-dev/runner
@wxt-dev/storage
@wxt-dev/unocss
@wxt-dev/webextension-polyfill
wxt
commit: |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2149 +/- ##
==========================================
+ Coverage 75.94% 76.14% +0.20%
==========================================
Files 113 113
Lines 3043 3048 +5
Branches 680 682 +2
==========================================
+ Hits 2311 2321 +10
+ Misses 646 642 -4
+ Partials 86 85 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
aklinker1
commented
Feb 21, 2026
| } | ||
|
|
||
| export interface OptionsEntrypointOptions extends BaseEntrypointOptions { | ||
| title?: string; |
Member
Author
There was a problem hiding this comment.
All HTML entrypoints get this, without it a test had a type error.
Contributor
|
Thanks for helping make WXT better! |
aklinker1
added a commit
that referenced
this pull request
Feb 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This allows modules to augment WXT's types and add their own config options to entrypoints. See the docs change for an example.
It also introduces the ability to find
<meta name="wxt.<name>" content="..." />params in HTML entrypoints, adding them to the entrypoint's option internally.Manual Testing
See unit test changes.
Related Issue
Related to #2020 - If the module discussed there needs to add custom options.