mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix Babel.compile call in isopack.js.
This commit is contained in:
@@ -1679,14 +1679,12 @@ _.extend(Isopack.prototype, {
|
||||
inputFileContents = inputFileContents.replace(/^.*#RemoveInProd.*$/mg, "");
|
||||
}
|
||||
|
||||
var babelOptions = babel.getDefaultOptions(
|
||||
require('../tool-env/babel-features.js')
|
||||
);
|
||||
var babelOptions = babel.getDefaultOptions();
|
||||
|
||||
_.extend(babelOptions, {
|
||||
filename: path,
|
||||
sourceFileName: "/" + path,
|
||||
sourceMapName: path + ".map",
|
||||
sourceMapTarget: path + ".map",
|
||||
sourceMap: true
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user