Skip to content

import from meteor packages in code that isn't processed by isobuild

License

Notifications You must be signed in to change notification settings

jedwards1211/babel-plugin-meteor-imports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

import from meteor packages in code that isn't processed by isobuild

Resources

License

Stars

Watchers

Forks

Packages

No packages published