mirror of
https://github.com/meteor/meteor.git
synced 2026-01-09 07:38:15 -05:00
26 lines
498 B
JavaScript
26 lines
498 B
JavaScript
Package.describe({
|
|
name: "babel-compiler",
|
|
summary: "Parser/transpiler for ECMAScript 2015+ syntax",
|
|
version: '7.11.2',
|
|
});
|
|
|
|
Npm.depends({
|
|
'@meteorjs/babel': '7.20.1',
|
|
'json5': '2.1.1',
|
|
'semver': '7.3.8'
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.use('ecmascript-runtime', 'server');
|
|
api.use('modern-browsers');
|
|
|
|
api.addFiles([
|
|
'babel.js',
|
|
'babel-compiler.js',
|
|
'versions.js',
|
|
], 'server');
|
|
|
|
api.export('Babel', 'server');
|
|
api.export('BabelCompiler', 'server');
|
|
});
|