mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-18 03:26:57 +02:00
fix(core): do not coerce webpack warning to string (#6378)
This commit is contained in:
parent
52db7320a6
commit
ad16f4fdd9
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ export function compile(config: Configuration[]): Promise<void> {
|
||||||
}
|
}
|
||||||
if (errorsWarnings && stats?.hasWarnings()) {
|
if (errorsWarnings && stats?.hasWarnings()) {
|
||||||
errorsWarnings.warnings?.forEach((warning) => {
|
errorsWarnings.warnings?.forEach((warning) => {
|
||||||
logger.warn(`${warning}`);
|
logger.warn(warning);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// Webpack 5 requires calling close() so that persistent caching works
|
// Webpack 5 requires calling close() so that persistent caching works
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue