Skip to content

Make it easier for bundlers to preserve the comment #17

@marjakh

Description

@marjakh

I'm told the annotation syntaxes for telling esbuild which comments to preserve are:

//! somecomment
and
// somecomment @preserve.

We probably don't want to add //! in addition to //#, to keep this consistent with source maps.

But what we could easily do is allow random stuff:
//# allFunctionsCalledOnLoad <stuff>
and
//# functionsCalledOnLoad=<data> <stuff>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions