-
-
Notifications
You must be signed in to change notification settings - Fork 601
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
--env foo="" is true instead of being "". #2642
Comments
Looking into it 👍 |
I was able to reproduce, I am working on a fix. |
I think you will have to escape the character on the terminal with Can you try - |
But then the value of foo would be "\"\"". i.e. a string "" instead of an empty string. With one of the old version of webpack-cli, in my package.json I had something like :
That I could call : With the new version it is written :
However, I have 2 issues :
I succeeded to easily find a workaround, but I think It would then enable to do :
|
Yep bug |
Describe the bug
--env foo="" is true instead of being "".
To Reproduce
--env foo=""
Expected behavior
Foo should be equal to "" instead of true.
The text was updated successfully, but these errors were encountered: