babel-plugin-meteor-imports

1.0.3 • Public • Published

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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    53
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    53
  • 1.0.2
    1
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i babel-plugin-meteor-imports

Weekly Downloads

50

Version

1.0.3

License

MIT

Last publish

Collaborators

  • jedwards1211