node-babel-plugin-macros

BabelJS plugin to allow one to build compile-time libraries
  https://github.com/kentcdodds/babel-plugin-macros
  0
  no reviews



Currently, each babel plugin in the babel ecosystem requires that you configure it individually. This is fine for things like language features, but can be frustrating overhead for libraries that allow for compile-time code transformation as an optimization.

babel-plugin-macros defines a standard interface for libraries that want to use compile-time code transformation without requiring the user to add a babel plugin to their build system (other than `babel-plugin-macros`, which is ideally already in place).