node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org ยป

concat-sourcemaps

Concatenates JavaScript files and their associated source map files.

var concat = require('concat-sourcemaps');
concat(['files/a.js', 'files/b.js'], 'out.js'); // writes source-map to out.js.map

Grunt Task