-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support glob inside npm scripts #875
Comments
To be fair, it is probably because I use zsh, but internally npm uses sh or bash iirc. There are some projects ( |
I'm not going to encode zsh-specific features into esbuild. There are many different shells and I think it's best if esbuild remains shell-agnostic. There are also features specific to Windows Command Prompt that esbuild doesn't emulate, for example. If you would like for this to work you are welcome to write a small script to do this yourself. I assume the most straightforward way to do this would be to use the |
Makes sense. As it is a personal one-man project, I just ended up doing Anyways, closing it for now. |
Currently, the following command produces what is expected, with the correct structure:
But, running the same command as an
npm-script
will not work, as npm itself seems to have a different way to do glob matchingThe text was updated successfully, but these errors were encountered: