1.0.1 • Published 8 years ago

babel-plugin-metal-register-components v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

babel-plugin-metal-register-components

A babel plugin for Metal.js that automatically registers components.

Usage

This is a babel plugin automatically registers Component classes. Helps avoid the boilerplate of doing it manually for each component. To use it, just add it to your package.json and pass it as a plugin when calling babel:

{
  "plugins": ["metal-register-components"]
}

Note that gulp-metal already includes this plugin by default on build tasks. So there's no need to add it manually if you're using it.