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

[webpack-loader] Reduce configs based on webpack environment #553

Merged
merged 1 commit into from
Feb 1, 2018

Conversation

rexxars
Copy link
Member

@rexxars rexxars commented Feb 1, 2018

This PR ensures that the environment passed to reduceConfig() is based on the webpack context instead of environment variables. Altering the config passed to the part loader is a bit risky at this point, so I went for the easier approach of checking which devtool setting we are using, since it is always set to false when building for production.

@rexxars rexxars requested a review from bjoerge February 1, 2018 15:07
Copy link
Member

@bjoerge bjoerge left a comment

Choose a reason for hiding this comment

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

LGTM. Releasing hotfix.

@bjoerge bjoerge changed the base branch from next to master February 1, 2018 15:14
@bjoerge bjoerge merged commit da4f80f into master Feb 1, 2018
@bjoerge bjoerge deleted the fix-env-deploy branch February 1, 2018 15:16
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.

2 participants