Skip to content

Commit c1fa219

Browse files
authoredAug 7, 2022
fix: log worker plugins in debug mode (#9553)
1 parent 905b8eb commit c1fa219

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎packages/vite/src/node/config.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,11 @@ export async function resolveConfig(
734734
if (process.env.DEBUG) {
735735
debug(`using resolved config: %O`, {
736736
...resolved,
737-
plugins: resolved.plugins.map((p) => p.name)
737+
plugins: resolved.plugins.map((p) => p.name),
738+
worker: {
739+
...resolved.worker,
740+
plugins: resolved.worker.plugins.map((p) => p.name)
741+
}
738742
})
739743
}
740744

0 commit comments

Comments
 (0)
Please sign in to comment.