sourcemap

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractSourceMapToPath

func ExtractSourceMapToPath(pluginID string, sourceMapPath string) (string, error)

Types

type SourceMap added in v0.11.1

type SourceMap struct {
	Version      int
	Sources      map[string]string
	SourcesNames []string
}

func ParseSourceMapFromBytes

func ParseSourceMapFromBytes(replaceRegex *regexp.Regexp, data []byte) (*SourceMap, error)

func ParseSourceMapFromPath

func ParseSourceMapFromPath(pluginID string, sourceMapPath string) (*SourceMap, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL