Skip to content

Support glob inside npm scripts #875

@brunoluiz

Description

@brunoluiz

Currently, the following command produces what is expected, with the correct structure:

esbuild ./src/**/*.ts --outdir=dist

But, running the same command as an npm-script will not work, as npm itself seems to have a different way to do glob matching

{
  ...
  "scripts": { "build": "esbuild ./src/**/*.ts --outdir=dist" }
  ...
}

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