report webpack warnings

This commit is contained in:
Pig Fang 2021-08-21 23:06:23 +08:00
parent ff017573c3
commit 61f0bf174f
No known key found for this signature in database
GPG Key ID: A8198F548DADA9E2

View File

@ -158,9 +158,9 @@ export default function (env?: Env): webpack.Configuration[] {
host: '0.0.0.0',
hot: true,
hotOnly: true,
stats: 'errors-only',
stats: 'errors-warnings',
},
stats: 'errors-only',
stats: 'errors-warnings',
},
{
name: 'meta',
@ -189,7 +189,7 @@ export default function (env?: Env): webpack.Configuration[] {
resolve: {
extensions: ['.js', '.ts'],
},
stats: 'errors-only',
stats: 'errors-warnings',
},
]
}