mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Expose information about Meteor target architecture to Babel plugins (#10211)
http://babeljs.io/docs/en/options#caller
This commit is contained in:
@@ -105,6 +105,7 @@ BCp.processOneFileForTarget = function (inputFile, source) {
|
||||
}
|
||||
|
||||
var babelOptions = Babel.getDefaultOptions(extraFeatures);
|
||||
babelOptions.caller = { name: "meteor", arch };
|
||||
|
||||
this.inferExtraBabelOptions(
|
||||
inputFile,
|
||||
|
||||
Reference in New Issue
Block a user