chore(reporter): remove unnecessary map (#13972)

This commit is contained in:
btea 2023-07-28 20:21:01 +08:00 committed by GitHub
parent 89a3db0d9f
commit dd9d4c1320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,13 +137,11 @@ export function buildReporterPlugin(config: ResolvedConfig): Plugin {
this.warn(
`\n(!) ${
module.id
} is dynamically imported by ${module.dynamicImporters
.map((m) => m)
.join(', ')} but also statically imported by ${module.importers
.map((m) => m)
.join(
', ',
)}, dynamic import will not move module into another chunk.\n`,
} is dynamically imported by ${module.dynamicImporters.join(
', ',
)} but also statically imported by ${module.importers.join(
', ',
)}, dynamic import will not move module into another chunk.\n`,
)
}
}