Skip to content

[Feature Request]: Support banner, footer, intro and outro for composejs plugin #1999

@IWANABETHATGUY

Description

@IWANABETHATGUY

What problem does this feature solve?

Making banner, footer, intro and outro composable for compose js plugin
for now, these hook will bailout

const unsupportedHookName = [
'augmentChunkHash',
'banner',
'footer',
'generateBundle',
'moduleParsed',
'onLog',
'options',
'outputOptions',
'renderError',
'renderStart',
'resolveDynamicImport',
'writeBundle',
// FIXME: Conflict with the `skip` option in `PluginContext#resolve`. Since we can't detect it in advance,
// we have to bailout all plugins with `resolveId` hook.
'resolveId',
'intro',
'outro',
] as const

What does the proposed API look like?

n/a

Metadata

Metadata

Assignees

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions