Skip to content

Commit

Permalink
Merge pull request #8 from nearmap/optional-input-sourcemap
Browse files Browse the repository at this point in the history
fix(loader): Handle null sourcemaps.
  • Loading branch information
kollhof authored Sep 26, 2018
2 parents d29b415 + 8e6e72f commit 61d4ca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/code-split.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@ const isHydratable = (hydratablePropPath)=> (
);


const getAst = (source, inputSourceMap)=> (
const getAst = (source, sourceMap)=> (
parse(source, {
sourceType: 'module',
inputSourceMap
inputSourceMap: sourceMap || false
})
);

Expand Down

0 comments on commit 61d4ca3

Please sign in to comment.