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

Use without process env #38

Closed
NetanelBasal opened this issue Feb 22, 2016 · 3 comments
Closed

Use without process env #38

NetanelBasal opened this issue Feb 22, 2016 · 3 comments

Comments

@NetanelBasal
Copy link

There is a way to use without including the object process.env (like webpack define plugin work)?

So I can write something like this:

if( PRODUCTION ) {  }
@yoshuawuyts
Copy link
Collaborator

nope, you'll have to do process.env.PRODUCTION. Cheers!

@ghost
Copy link

ghost commented Mar 24, 2016

Hello, there is any way to choose other prefix than process.env. ?

it will be usefull. Thanks :)

@yoshuawuyts
Copy link
Collaborator

@belghitial nope, you'll have to use process.env - cheers!

Repository owner locked and limited conversation to collaborators Mar 25, 2016
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

2 participants