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

fix: indexPath should also affect non-production builds (#2327) #4057

Merged
merged 1 commit into from Jul 14, 2019

Conversation

shadow-light
Copy link
Contributor

@shadow-light shadow-light commented May 25, 2019

This patch fixes two related problems:

  1. indexPath is not respected for non-production builds Documentation: need to explain how used vue.config.js in different build modes #2327
  2. build --dest is applied after generating webpack config despite a number of elements in that config already setting values based on outputDir

I attempted to make it possible for --dest to override even user webpack config but it was far too complicated, not just in regard to indexPath but also other parts that rely on it. It might still be desirable if someone wants to have a go. This patch at least improves things in the mean time, as users are already instructed in the docs to set outputDir in config rather than overriding webpack settings themselves.

@sodatea sodatea merged commit 9faddce into vuejs:dev Jul 14, 2019
@vue-bot
Copy link

vue-bot commented Jul 14, 2019

Hey @shadow-light, thank you for your time and effort spent on this PR, contributions like yours help make Vue better for everyone. Cheers! 💚

@shadow-light shadow-light deleted the patch-for-2327 branch July 15, 2019 06:55
sodatea pushed a commit that referenced this pull request Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants