1 WARNING in child compilations (Use ‘stats.children: true’ resp. ‘–stats-children’ for more details)

1 WARNING in child compilations (Use ‘stats.children: true’ resp. ‘–stats-children’ for more details)
npm install autoprefixer@10.4.5 --save-exact
Source:exerror.com

WARNINGS in child compilations (Use ‘stats.children: true’ resp. ‘–stats-children’ for more details)
Solution 1: Add stats.children: true
In order to solve this warning you just need to add stats.children: true in your webpack.mix.js file. First of all open your webpack.mix.js file and add the following code.

mix.webpackConfig({
stats: {
children: true,
},
});
And Now, Your error must be solved. Thanks.
Source: exerror.com
1 ERROR in child compilations (Use ‘stats.children: true’ resp. ‘–stats-children’ for more details)
{
test: /\.html$/,
exclude: [/node_modules/, require.resolve('./index.html')],
use: {
loader: 'file-loader',
query: {
name: '[name].[ext]'
},
},
},

Leave a Comment