Home > @lynx-js/rspeedy > SourceMap > js
SourceMap.js property
How the source map should be generated. Setting it to false will disable the source map.
Signature:
Remarks
Defaults to 'cheap-module-source-map' at development, false at production.
See Rspack - Devtool for details.
Example 1
- Enable high-quality source-maps for production:
Example 2
- Disable source-map generation:
Example 3
- Use high-quality source-maps for all environments: