For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/api/rspeedy.output.sourcemap.md.
这是开发预览网站。请访问正式文档 lynxjs.org

Home > @lynx-js/rspeedy > Output > sourceMap

Output.sourceMap property

The SourceMap configures whether and how to generate source-map for outputs.

Signature:

sourceMap?: boolean | SourceMap | undefined;

Default Value

When this option is unset in Lynx builds, JavaScript source maps use 'cheap-module-source-map' in development and 'source-map' in production; CSS source maps are also generated. All .map assets are removed before emit.