Package Exports
- babel-plugin-meteor-imports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (babel-plugin-meteor-imports) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
babel-plugin-meteor-imports
Simple Babel plugin that allows you to import from Meteor packages in code that isn't processed by isobuild.
(But it assumes you've loaded the packages by requiring boot.js from .meteor/local/build/programs/server.)
For example, it transforms:
import {Match, check} from 'meteor/check'into:
const {Match, check} = Package.meteor.check(or similar, depending on other Babel transformations)