Skip to content

In memory output of Build API (adding write: boolean) #139

@aelbore

Description

@aelbore
  • same as rollup theres write and generate function

  • write is to persist or write file to disk

  • generate is to output string or objects like code, map

  • this is useful if someone will create a plugin or any tools using esbuild

  • i did jest transformer (https://github.com/aelbore/esbuild-jest),
    im using rollup and rollup-plugin-esbuild then sync-rpc to wrap the async
    it would be good if build api would output result string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions