Open
Description
Related:
#796
#1473
cspotcode/node-source-map-support#23
Add a configuration option, perhaps named installSourceMapSupport
or sourceMapHooks
, which can be used to disable require('@cspotcode/source-map-support').install()
Important things to consider:
- Do we continue to generate sourcemaps when compiling? Probably the best answer is "yes" to be compatible with node's built-in
--enable-source-maps
- Maybe we should obey the user's tsconfig? If they have sourcemaps turned on/off in tsconfig, then we do/don't generate sourcemaps?
- Clearly document default behavior:
- with
--enable-source-maps
enabled, default is "off" - without
--enable-source-maps
, default is "on" - When set to true or false via config, overrides the default
- with