Skip to content

Commit

Permalink
Merge pull request #11 from kollhof/babel-generatore-issue
Browse files Browse the repository at this point in the history
fix(code-split): Remove sourcemaps to work around missing sourceFileName
  • Loading branch information
anuraags authored Feb 12, 2020
2 parents 61d4ca3 + dc3fc5e commit 7d46d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/code-split.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,5 +248,5 @@ export const getTemplate = (source, sourceMap)=> {
removePaths(...children);
}

return generate(ast, {sourceMaps: true}, source);
return generate(ast, {sourceMaps: false}, source);
};

0 comments on commit 7d46d55

Please sign in to comment.