Skip to content

'packages' doesn't exist in type 'BuildOptions' #2844

@its-dibo

Description

@its-dibo

as mentioned in the docs, we can use packages: 'external'

image

but it seems that it is missing from the typing

import { BuildOptions, build } from 'esbuild';

let esbuildConfig: BuildOptions = {
 packages: 'external',
 .....
}

jpg

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