Skip to content

sourcemapBaseUrl

  • Type: optional sourcemapBaseUrl: string

The base URL for the links to the sourcemap file in the output file.

By default, relative URLs are generated. If this option is set, an absolute URL with that base URL will be generated. This is useful when deploying source maps to a different location than your code, such as a CDN or separate debugging server.

Released under the MIT License.