mirror of
https://github.com/meteor/meteor.git
synced 2026-01-10 08:08:24 -05:00
28 lines
573 B
JavaScript
28 lines
573 B
JavaScript
Package.describe({
|
|
name: "babel-compiler",
|
|
summary: "Parser/transpiler for ECMAScript 2015+ syntax",
|
|
version: '7.12.2',
|
|
});
|
|
|
|
Npm.depends({
|
|
'@meteorjs/babel': '7.20.1',
|
|
'json5': '2.2.3',
|
|
'semver': '7.6.3',
|
|
"@meteorjs/swc-core": "1.12.14",
|
|
});
|
|
|
|
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');
|
|
api.export('SwcCompiler', 'server');
|
|
});
|