Skip to content

Conversation

xiaoxiangmoe
Copy link
Contributor

after change it

process.env.NODE_ENV = 'development'

will throw

Cannot assign to 'NODE_ENV' because it is a read-only property.ts(2540) 
Copy link
Contributor

@mrmckeb mrmckeb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea, @xiaoxiangmoe. Let's get this one in!

@mrmckeb
Copy link
Contributor

mrmckeb commented Apr 7, 2019

@xiaoxiangmoe - can you please rebase from master and see if that fixes your tests, I'm assuming it will. I know the tests failures are unrelated, but I think we should make sure they're passing regardless.

CC @iansu @ianschmitz

@mrmckeb mrmckeb merged commit ebabd18 into facebook:master Apr 7, 2019
@mrmckeb
Copy link
Contributor

mrmckeb commented Apr 7, 2019

Thanks again, @xiaoxiangmoe

@lock lock bot locked and limited conversation to collaborators Apr 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.