Skip to content
This repository has been archived by the owner on Feb 15, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant