Packages
magic_string
1.0.0
Edit strings by byte offset and get a source map for free. A Gleam port of Rich Harris's magic-string.
Current section
Files
Jump to
Current section
Files
include/magic_string@codec_SourceMap.hrl
-record(source_map, {
version :: integer(),
file :: gleam@option:option(binary()),
source_root :: gleam@option:option(binary()),
sources :: list(binary()),
sources_content :: list(gleam@option:option(binary())),
names :: list(binary()),
mappings :: binary()
}).