Skip to content

[Rolldown] esbuild.footer is deprecated #1717

@aklinker1

Description

@aklinker1

Feature Request

esbuild.footer option was specified. But this option is deprecated and will be removed in future versions. This option can be achieved by using a plugin with transform hook, please use that instead.
#1715

We need to create a custom plugin to add a footer. We currently use a footer to add code at the bottom of background, unlisted, and content scripts so they have a return value.

When we update to a plugin, we can fix some issues around the footer being applied too broadly. It should only be applied to unlisted and content scripts, not background or web workers.

Is your feature request related to a bug?

What are the alternatives?

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions