Releases: 7rulnik/source-map-js
Releases · 7rulnik/source-map-js
v1.2.0
Allow to pass options to SourceMapGenerator
using SourceMapGenerator.fromSourceMap
as second argument
var generator = sourceMap.SourceMapGenerator.fromSourceMap(new SourceMapConsumer(), {
ignoreInvalidMapping: true,
});
- Add generator options to fromSourceMap (#22) @ai
v1.1.0
Add ignoreInvalidMapping
option to SourceMapGenerator
. If enabled, source-map-js will not throw an error on the incorrect previous source map. Instead, it will print warnings and ignore broken mappings.
var generator = new sourceMap.SourceMapGenerator({
file: "my-generated-javascript-file.js",
sourceRoot: "http://example.com/app/js/",
ignoreInvalidMapping: true,
});
- Do not throw an error since broken prev map is popular issue #20 (#20) @ai
- Add ignoreInvalidMapping option (#21) @7rulnik
v1.0.3
- Use sourceContents when non-null, even if it's an empty string (#17) @bshepherdson
1.0.1
- Remove cleanComments optimization (#10) @ai
1.0.0
Breaking Changes
Bundled files like source-map-js/dist/*
doesn't exist anymore. Use source-map-js/lib/*
.
PRs