turbo
25633918 - Faster source map tracing (#2426)

Commit
3 years ago
Faster source map tracing (#2426) * Store the sourcemap::SourceMap directly, instead of encoding it * Implement GenerateSourceMap trait and use it to retrieve live maps * Cleanup and comments! * Update safety comment * Rename var * Update snapshots * Update snapshots * Fix tracing errors in SSR SSR has access to `EcmascriptChunkVc`, not `EcmascriptChunkContentVc`. Client gets access only to `EcmascriptChunkContentVc` * Fix source map sources on client Because the JS is nested in dirs, the source needs to be an absolute path. Co-authored-by: Jared Palmer <jared@jaredpalmer.com>
Author
Parents
Loading