Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
sourcemaps adjustment necessary due to jspm/jspm-cli#1880
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jun 4, 2016
1 parent 46a2f0b commit 804e63e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/trace.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,9 @@ Trace.prototype.getLoadRecord = function(canonical, traceOpts, parentStack) {
return asp(fs.readFile)(sourceMapPath, 'utf8').then(function (sourceMap) {
load.metadata.sourceMap = JSON.parse(sourceMap);
return source;
});
})
// dont let a missing source map fail the entire build
.catch(function() {});
}
})

Expand Down

0 comments on commit 804e63e

Please sign in to comment.