make ESM tracking info message less verbose

This commit is contained in:
Tobias Koppers 2021-04-30 15:07:17 +02:00
parent 0e2e972a2d
commit adc10a5636
1 changed files with 1 additions and 1 deletions

View File

@ -1472,7 +1472,7 @@ class FileSystemInfo {
} }
} else if (supportsEsm && /\.m?js$/.test(path)) { } else if (supportsEsm && /\.m?js$/.test(path)) {
if (!this._warnAboutExperimentalEsmTracking) { if (!this._warnAboutExperimentalEsmTracking) {
this.logger.info( this.logger.log(
"Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\n" + "Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\n" +
"Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\n" + "Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\n" +
"As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking." "As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking."