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

set node_env for production and add static asset tests #4842

Merged
merged 3 commits into from
Jul 29, 2019

Conversation

kuceb
Copy link
Contributor

@kuceb kuceb commented Jul 28, 2019

Pre-merge Tasks

  • Have tests been added/updated for the changes in this PR?

  • ensure bluebird longStackTraces can be set in prod mode

    • verified building binary and in open mode, Cypress.Promise.hasLongStackTraces() was true
  • verify testStaticAssets will fail when NODE_ENV isn't production

  • open + tag issue for this PR

@kuceb kuceb requested a review from brian-mann July 28, 2019 01:27
Copy link
Member

@brian-mann brian-mann left a comment

Choose a reason for hiding this comment

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

I'm going to approve this PR but I need to...

  • manually check that longStackTraces: true will continue to work in bluebird whilst in production mode

Also @bkucera did you manually verify that without setting NODE_ENV=production your badString implementation failed? We need to be 100% sure that this build check properly catches regressions.

@brian-mann brian-mann self-requested a review July 28, 2019 23:37
Copy link
Member

@brian-mann brian-mann left a comment

Choose a reason for hiding this comment

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

  • open a corresponding issue and tag it in the PR which documents why this change was necessary. perf, memory, react, etc...

@kuceb kuceb requested a review from brian-mann July 29, 2019 02:27
@brian-mann brian-mann merged commit 0c8e649 into develop Jul 29, 2019
@emilyrohrbough emilyrohrbough deleted the prod-production-deps branch August 1, 2024 13:45
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.

use production dependencies in final prod bundle
2 participants