Skip to content
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.

can it supports multi variables? #62

Closed
zzzgit opened this issue Feb 27, 2017 · 5 comments
Closed

can it supports multi variables? #62

zzzgit opened this issue Feb 27, 2017 · 5 comments

Comments

@zzzgit
Copy link

zzzgit commented Feb 27, 2017

cross-env foo=bar fo=ba webpack

According to the source code,I think this will get an error,right?

@kentcdodds
Copy link
Owner

Yes it does support multiple variables in a single command

@zzzgit
Copy link
Author

zzzgit commented Feb 27, 2017

Why not show it in the documentation?
And I will have a try for that functionality.

@kentcdodds
Copy link
Owner

Feel free to makeapullrequest.com to add it to the docs :)

@Darmikon
Copy link

Hi. What's the proper way to set multiple variables? cross-env foo=bar fo=ba webpack or cross-env foo=bar cross-env fo=ba webpack . Thanks in advance

@kentcdodds
Copy link
Owner

The first is correct

devuxer added a commit to devuxer/cross-env that referenced this issue May 20, 2020
Addresses documentation request in kentcdodds#62
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants