mapcat icon indicating copy to clipboard operation
mapcat copied to clipboard

Mixing compiled and non-compiled sources.

Open uiteoi opened this issue 11 years ago • 1 comments

Handle non-compiled sources mixed with compiled sources to generate the output JavaScript and source map.

This could be done by checking the extension of individual input files or when an input file is not recognized as a source map.

In the following example, input2 is a non-compiled JavaScript source:

var cat = require('mapcat').cat;
cat(['input1.map', 'input2.js', 'input3.map'], 'output.js', 'out.map');

uiteoi avatar Nov 01 '13 09:11 uiteoi

+1

mahnunchik avatar Jan 18 '14 17:01 mahnunchik