0.6.2 • Published 8 years ago

concat-with-existing-sourcemaps v0.6.2

Weekly downloads
43
License
-
Repository
github
Last release
8 years ago

concat-with-existing-sourcemaps is a simple utility that concatenates JavaScript files while also consolidating the corresponding source map files.

Based on mapcat by Eddie Cao

API

You can use the simple API. It exposes one simple function:

var bundle = require('concat-with-existing-sourcemaps').bundle;
var source = [];
var pair = {
	file: path/to/file.js,
	map: path/to/file.js.map
};
source.push(pair);
bundle(source, 'output.js', 'out.js.map', [maproot]);

Note: This api is using source root from the map file.
0.6.2

8 years ago

0.6.1

8 years ago

0.6.0

8 years ago

0.5.9

8 years ago

0.5.8

8 years ago

0.5.7

8 years ago

0.5.6

8 years ago

0.5.5

8 years ago

0.5.4

8 years ago

0.5.3

8 years ago

0.5.2

8 years ago

0.5.0

8 years ago

0.4.0

8 years ago