Merge pull request #1013 from Rich-Harris/patch-1

fix inputSourceMap option
This commit is contained in:
Sebastian McKenzie 2015-03-14 01:47:55 +11:00
commit 581f70c803

View File

@ -280,7 +280,7 @@ export default class File {
parseInputSourceMap(code: string) {
var opts = this.opts;
if (opts.inputSourceMap === false) {
if (opts.inputSourceMap !== false) {
var inputMap = convertSourceMap.fromSource(code);
if (inputMap) {
opts.inputSourceMap = inputMap.toObject();