Skip to content

Commit

Permalink
chore(reporter): remove unnecessary map (#13972)
Browse files Browse the repository at this point in the history
  • Loading branch information
btea authored Jul 28, 2023
1 parent 89a3db0 commit dd9d4c1
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions packages/vite/src/node/plugins/reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
)
}
}
Expand Down

0 comments on commit dd9d4c1

Please sign in to comment.