Repository navigation
Is it possible to change output name of listed entrypoint? #2614
|
Listed entrypoint must have fixed filename. For instance, |
Answered by
jasperjonkhans
Sep 8, 2026
Replies: 1 comment 2 replies
|
There isn’t a dedicated export default defineConfig({
hooks: {
'entrypoints:resolved': (_, entrypoints) => {
const options = entrypoints.find(
entry => entry.type === 'options',
)
if (options) options.name = 'settings'
},
},
})Keep the source as With current WXT, this emits Use a unique name so it doesn’t collide with another entrypoint. |
2 replies
Answer selected by
hindmost
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There isn’t a dedicated
outputNameoption, but you can change theresolved entrypoint’s name:
Keep the source as
entrypoints/options.htmlorentrypoints/options/index.html.With current WXT, this emits
settings.htmland also pointsmanifest.options_ui.pagetosettings.html, producing:Use a unique name so it doesn’t collide with another entrypoint.