npm.io
2.1.1 • Published 3 years ago

fast-sourcemap-concat

Licence
MIT
Version
2.1.1
Deps
7
Size
19 kB
Vulns
0
Weekly
0
Stars
16

Fast Source Map Concatenation

Build Status Build status

This library lets you concatenate files (with or without their own pre-generated sourcemaps), and get a single output file along with a sourcemap.

It was written for use in ember-cli via broccoli-sourcemap-concat.

source-map dependency

We depend on mozilla's source-map library, but only to use their base64-vlq implementation, which is in turn based on the version in the Closure Compiler.

We can concatenate much faster than source-map because we are specifically optimized for line-by-line concatenation.