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
{{ message }}
Repository navigation
outDirTemplate for customizing output directory #1069
Add a new config, outDirTemplate, that defaults to {{browser}}-mv{{manifestVersion}}. Template variables are:
Template Var
Value
{{browser}}
wxt.config.browser
{{manifestVersion}}
wxt.config.manifestVersion
{{mode}}
wxt.config.mode
{{modeSuffix}}
"" for production, "-dev" for development, and "-{{mode}}" for all others
{{command}}
wxt.config.command
If anyone else has other ideas for what template variables might be useful, feel free to leave a comment.
The default template should be {{browser}}-mv{{manifestVersion}} to prevent breaking changes. Will consider changing the default to {{browser}}-mv{{manifestVersion}}{{modeSuffix}} in the next major version.
Activity
feat(wxt-dev#1069): add outDirTemplate
aklinker1 commentedon Oct 19, 2024
Released in
v0.19.12