Recommend running the Logfire sourcemap inject step last
Merged
AD
9d ago+12+12+01234567890123456789-4-4-0123456789
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 injectas the last inject step, after any other tool's inject step (for examplesentry-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
namesfield. Otherwise the frames keep the minified names.