Webpack build: Add compiled in x seconds in missing places (#77751)
### What? Added duration of the webpack build in a few missing places. This was already added earlier but it seems we missed 2 cases where it logs `compiled successfully` but did not include a timing. E.g. shadcn-ui's apps/v4 did not show the webpack compile time. ### How? - Moved the `durationToString` function from `build/index.ts` to a dedicated file - Added duration information to successful compilation messages in webpack build - Updated log messages to show compilation time in appropriate units (ms, s, min) Fixes #
Showing
Please
register
or
sign in
to comment