Skip to content

script-utils/bundlers/esbuild-impl/fix-source-maps-plugin

This module defines an esbuild plugin that fixes source maps generated during development. It adjusts the paths in the source maps to be compatible with Obsidian’s internal URL scheme. A plugin is only active during development builds.

InterfaceDescription
FixSourceMapsPluginParamsParameters for fixSourceMapsPlugin.
FunctionDescription
fixSourceMapsPluginCreates an esbuild plugin that fixes source maps by adjusting the paths to be compatible with Obsidian’s internal URL scheme.