Skip to content

sourcemap

  • Type: optional sourcemap: boolean | "inline" | "hidden"

Whether to generate sourcemaps.

  • false: No sourcemap will be generated.
  • true: A separate sourcemap file will be generated.
  • 'inline': The sourcemap will be appended to the output file as a data URL.
  • 'hidden': A separate sourcemap file will be generated, but the link to the sourcemap (//# sourceMappingURL comment) will not be included in the output file.

Default

ts
false

Released under the MIT License.