diff --git a/packages/vite/src/node/plugins/reporter.ts b/packages/vite/src/node/plugins/reporter.ts index d2d4d0705a9037..e03bb56183c6e8 100644 --- a/packages/vite/src/node/plugins/reporter.ts +++ b/packages/vite/src/node/plugins/reporter.ts @@ -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`, ) } }