Skip to content

Conversation

@jbadan
Copy link
Contributor

@jbadan jbadan commented Jan 25, 2019

Description

In order to get proptypes working, we need to be development mode when we deploy to github pages. This is a stop gap measure for the meantime and will be addressed by a future story - either converting to production or lerna.

}
// if (env.stringified['process.env'].NODE_ENV !== '"production"') {
// throw new Error('Production builds must have NODE_ENV=production.');
// }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't love commenting this out, but we need to use the prod config for webpack with NODE_ENV set to development.

@jbadan jbadan requested a review from a team January 25, 2019 21:56
Copy link
Contributor

@greg-a-smith greg-a-smith left a comment

Choose a reason for hiding this comment

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

Looks good. 🚢

@jbadan jbadan merged commit 6b2c241 into master Jan 28, 2019
@jbadan jbadan deleted the fix/build-script branch January 28, 2019 15:16
greg-a-smith pushed a commit that referenced this pull request Mar 5, 2019
* set gh pages build to development

* disable error catching
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants