Skip to content

Commit f83fcce

Browse files
author
John Vilk
committed
Fixing frontend.
1 parent ca03d4a commit f83fcce

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ source maps generated from multiple source files, which is intended to be useful
183183
Currently, `merge-source-maps` does not support this field, and will throw an error.
184184
Feel free to open an issue if this limitation is inhibiting your use of `merge-source-maps`.
185185

186+
## Building
187+
188+
To build `merge-source-maps` from source, simply run `npm install`.
189+
186190
## What about {gulp,jake,broccoli}?
187191

188192
Do you use a different build system?

bin/merge-source-maps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const opts: ISourceMapMergerConfig = {
2424
};
2525

2626
if (args._.length > 0) {
27-
mergeSourceMaps.merge(args._, opts);
27+
mergeSourceMaps.merge(args._.map((f: string) => { return { src: f, dest: f } }), opts);
2828
} else {
2929
parser.showHelp();
3030
}

0 commit comments

Comments
 (0)