Include babel-macros-plugin

Roadmap Card


This is the definition of babel-macros-plugin:

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

This means that we will be adding support for many existing packages that usually would require a babel plugin. Here is a list:

User Stories

As a Frontity developer
I want to use packages that support babel-maros-plugin
so that I don’t need to deal with babel configurations

Possible solution

It is as simple as adding the plugin to babel:

  "plugins": ["babel-macros-plugin"]