mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Stop passing babelOptions.sourceMap when compiling meteor shell commands.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
ECMAScript = {
|
||||
compileForShell(command) {
|
||||
const babelOptions = Babel.getDefaultOptions();
|
||||
babelOptions.sourceMap = false;
|
||||
delete babelOptions.sourceMap;
|
||||
delete babelOptions.sourceMaps;
|
||||
babelOptions.ast = false;
|
||||
return Babel.compile(command, babelOptions).code;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user