Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex from CLI version #1056

Open
eljulien opened this issue Mar 21, 2023 · 0 comments
Open

Regex from CLI version #1056

eljulien opened this issue Mar 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@eljulien
Copy link

Hi,

I am trying to exclude some dependencies using a regex with the CLI.
Example: ncc build src/index.ts -e '/^(?!@google-cloud)/'

It does not seems to work because in the code, Regex are only manage if externals is an object.

Is there an other way to do it?

@styfle styfle added the enhancement New feature or request label Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants