Recommend running the Logfire sourcemap inject step last

Merged
AD
9d ago
+12-4

The browser source maps page did not say how to prepare a build when the project also uses another error tracking tool, and it said that frames always resolve to the original function name.

This PR:

  • Adds an "If you also use another error tool" section: run logfire sourcemap inject as the last inject step, after any other tool's inject step (for example sentry-cli sourcemaps inject, datadog-ci sourcemaps inject, posthog-cli sourcemap inject), then upload with the Logfire CLI.
  • States that original function names appear only when the bundler's map lists them in its names field. Otherwise the frames keep the minified names.