source-map-js
Advanced tools
Changelog
1.2.1
Fix TS2306 “not a module” errors in type definitions (#16) @andersk
Ensure null source is respected (#26) @dragomirtitian
Improve ts declarations to be null-safe (#27) @dragomirtitian
Changelog
1.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,
});
Changelog
1.0.3