Skip to content

Commit

Permalink
add timings for cli
Browse files Browse the repository at this point in the history
  • Loading branch information
ahabhgk committed Mar 22, 2023
1 parent 7d80f7b commit 063269f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rspack-cli/src/rspack-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export class RspackCLI {
}

if (typeof item.stats === "undefined") {
item.stats = { preset: "errors-warnings" };
item.stats = { preset: "errors-warnings", timings: true };
} else if (typeof item.stats === "boolean") {
item.stats = item.stats ? { preset: "normal" } : { preset: "none" };
} else if (typeof item.stats === "string") {
Expand Down

0 comments on commit 063269f

Please sign in to comment.