node/lib/internal/source_map
Joyee Cheung cf9ddcd6c8
bootstrap: simplify initialization of source map handlers
- Move the initialization of process.setSourceMapsEnabled
  and the maybeCacheGeneratedSourceMap callback to
  bootstrap/node.js so they are included in the snapshot.
- Simplify the handling of --enable-source-maps by explicitly
  calling setSourceMapsEnabled() during pre-execution.

PR-URL: https://github.com/nodejs/node/pull/48304
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2023-11-10 16:21:46 +01:00
..
prepare_stack_trace.js lib: enforce use of trailing commas for functions 2023-04-03 07:43:55 -04:00
source_map.js module: add SourceMap.findOrigin 2023-09-12 10:58:38 -04:00
source_map_cache.js bootstrap: simplify initialization of source map handlers 2023-11-10 16:21:46 +01:00