You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful if a property was added to FormatMessagesOptions, like pathType: "absolute" | "relative" which allowed users to control the output format.
This particularly helps for two cases:
Monorepo setups, where relative paths might not be unique. Here, it allows distinguishing paths and so users can directly click links to the files with errors.
Automated log reading tools, like GitHub's pattern matchers, to show errors in CI more easily.
esbuild has a format messages API: https://esbuild.github.io/api/#format-messages
It would be useful if a property was added to
FormatMessagesOptions
, likepathType: "absolute" | "relative"
which allowed users to control the output format.This particularly helps for two cases:
Similar discussion for TypeScript is here: microsoft/TypeScript#36221
The text was updated successfully, but these errors were encountered: