-
1.2.1
Stablereleased this
2026-02-25 20:02:04 +00:00 | 9 commits to main since this releaseSource Map Resolution: Explicit Configuration
Source map resolution now uses an explicit opt-in API instead of auto-detecting
@jridgewell/trace-mappingvia dynamicimport(). This prevents bundlers (Vite, Rollup, Webpack) from pulling trace-mapping into the production bundle when source map resolution is not needed.Setup
import {originalPositionFor, TraceMap} from '@jridgewell/trace-mapping'; import {configureSourceMapResolver} from '@mburchard/bit-log'; configureSourceMapResolver(TraceMap, originalPositionFor);Call configureSourceMapResolver() before configureLogging() so the resolver is active from the first log event. Without this call, call sites still work but show compiled positions.
Other Changes
- Upgrade ESLint to v10
- Update dev dependencies
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads