diff --git a/src/babel/transformation/file.js b/src/babel/transformation/file.js index 593f857115..bfb873d10b 100644 --- a/src/babel/transformation/file.js +++ b/src/babel/transformation/file.js @@ -534,7 +534,7 @@ export default class File { result.code += "\n" + convertSourceMap.fromObject(result.map).toComment(); } - if (opts.sourceMap === "both") { + if (opts.sourceMap === "inline") { result.map = null; }