Skip to content

Commit

Permalink
fix: log worker plugins in debug mode (#9553)
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed Aug 7, 2022
1 parent 905b8eb commit c1fa219
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/vite/src/node/config.ts
Expand Up @@ -734,7 +734,11 @@ export async function resolveConfig(
if (process.env.DEBUG) {
debug(`using resolved config: %O`, {
...resolved,
plugins: resolved.plugins.map((p) => p.name)
plugins: resolved.plugins.map((p) => p.name),
worker: {
...resolved.worker,
plugins: resolved.worker.plugins.map((p) => p.name)
}
})
}

Expand Down

0 comments on commit c1fa219

Please sign in to comment.