0.9.3 • Published 2 years ago

@morfeo/babel-plugin v0.9.3

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

@morfeo/babel-plugin

Morfeo logo

@morfeo/babel-plugin is a babel plugin that enables the evaluation at build time of morfeo.


Documentation | API | Contributing | Discord


Installation

# With npm
npm install --save-dev @morfeo/babel-plugin

# With yarn
yarn add --dev @morfeo/babel-plugin

Once the plugin is installed you can add it the plugins in your babel configuration:

{
  "presets": ["list", "of", "your", "presets"],
  "plugins": ["list", "of", "your", "other", "plugins", "@morfeo/babel-plugin"],
}

:warning: Warning

You'll probably never use directly @morfeo/babel-plugin, instead, you'll more likely to use @morfeo/webpack, that uses this package internally.