Skip to content

Promise onDispose callback #4356

@Aukevanoost

Description

@Aukevanoost

Hi! I had a small naive question,

Since ctx.dispose() is a Promise, would it be possible to allow ESbuild to wait for plugins as well when disposing? The possibility to add promises to the dispose callback array would allow developers to await for all plugins to be cleaned up until proceeding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions