magic-string
Advanced tools
Changelog
0.2.2
sources
paths in sourcemaps relative to options.file
Changelog
0.2.0
MagicString.Bundle
for concatenating magic stringsChangelog
0.1.9
Changelog
0.1.8
s.generateMap()
have a toUrl()
method that generates a DataURIChangelog
0.1.7
s.insert( index, content )
- roughly equivalent to s.replace( index, index, content )
Changelog
0.1.5
s.indent({ exclude: [ x, y ] })
prevents lines between (original) characters x
and y
from being indented. Multiple exclusion ranges are also supported (e.g. exclude: [[a, b], [c, d]]
)