Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 614 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 614 Bytes

babel-plugin-meteor-imports

Build Status

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)