Skip to content

Commit

Permalink
fix compatibility with @babel/core option check when inputSourceMap n…
Browse files Browse the repository at this point in the history
…ull (#538)
  • Loading branch information
Delagen authored and danez committed Feb 25, 2018
1 parent 638e433 commit 23b3b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ module.exports = function(source, inputSourceMap) {

const defaultOptions = {
metadataSubscribers: [],
inputSourceMap: inputSourceMap,
inputSourceMap: inputSourceMap || undefined,
sourceRoot: process.cwd(),
filename: filename,
cacheIdentifier: JSON.stringify({
Expand Down

0 comments on commit 23b3b97

Please sign in to comment.