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

stats are not colored in v4 when config returns multiple objects #2054

Closed
mihkeleidast opened this issue Nov 6, 2020 · 1 comment
Closed
Labels

Comments

@mihkeleidast
Copy link

Describe the bug

When a webpack config returns multiple configurations as an array, the output stats are not colored.

// webpack.config.js
module.exports = [{
    entry: './src/index.js',
},
{
    entry: './src/index.js',
}];

Expected behavior

Stats should be colored when there are more than one configurations returned by the config file.

Screenshots

4.2.0, multiple configurations (example above):
image

4.2.0, single config (file can return an array with a single object):
image

3.3.12, same config as above:
image

Additional context

Webpack 4.44.2.

@alexander-akait
Copy link
Member

Duplicate #2038, title can be misleading, but the problem in one place

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants