Skip to content

Commit

Permalink
fix: use RawSourceMap for sourcemap
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianrothe committed Mar 24, 2021
1 parent 23e4892 commit b056107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformer.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const transformer = (options = {}) => (source, filename) => {

return {
code: result.js.code + esInterop,
map: result.js.map,
map: JSON.stringify(result.js.map),
};
};

Expand Down

0 comments on commit b056107

Please sign in to comment.