Skip to content
This repository was archived by the owner on Apr 1, 2020. It is now read-only.

Fix #1235 - Use 'ONI_WEBPACK_LOAD' environment variable instead of 'NODE_ENV' #1313

Merged
merged 2 commits into from
Jan 21, 2018

Conversation

bryphe
Copy link
Member

@bryphe bryphe commented Jan 17, 2018

It's still not clear all the cases that cause #1235 , but there is definitely a conflict with the NODE_ENV variable - if NODE_ENV is set, we'll try and load from webpack-dev-server instead of the local file. This is problematic for anyone who uses NODE_ENV in their local workflow, so we should use a different environment variable to gate this.

@bryphe
Copy link
Member Author

bryphe commented Jan 17, 2018

Related to #1235

@bryphe bryphe merged commit 07bf571 into master Jan 21, 2018
@bryphe bryphe deleted the bryphe/1235/node-env-fix branch January 21, 2018 00:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant