Skip to content

Commit dd9d4c1

Browse files
authoredJul 28, 2023
chore(reporter): remove unnecessary map (#13972)
1 parent 89a3db0 commit dd9d4c1

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed
 

‎packages/vite/src/node/plugins/reporter.ts

+5-7
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,11 @@ export function buildReporterPlugin(config: ResolvedConfig): Plugin {
137137
this.warn(
138138
`\n(!) ${
139139
module.id
140-
} is dynamically imported by ${module.dynamicImporters
141-
.map((m) => m)
142-
.join(', ')} but also statically imported by ${module.importers
143-
.map((m) => m)
144-
.join(
145-
', ',
146-
)}, dynamic import will not move module into another chunk.\n`,
140+
} is dynamically imported by ${module.dynamicImporters.join(
141+
', ',
142+
)} but also statically imported by ${module.importers.join(
143+
', ',
144+
)}, dynamic import will not move module into another chunk.\n`,
147145
)
148146
}
149147
}

0 commit comments

Comments
 (0)
Please sign in to comment.