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

Allow usage of array of configs for webpack #559

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

jvdsande
Copy link

@jvdsande jvdsande commented Sep 16, 2020

Webpack allows users to provide an array of configs instead of a single config.

This PR allows users to provide an array of config through the webpack.config configuration hook.

  • In development, it gets the publicPath option for the devServer from the first config, if an array is provided
  • In production, it prints the gzipped size information for each configs sequentially

As far as I can tell it doesn't break anything.

@jvdsande
Copy link
Author

CI tests are failing, but they seem to also be failing on the next branch unmodified, at the same point, so this doesn't seem to be linked to those changes.

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.

None yet

1 participant