Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1013 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 1013 Bytes

Create React App + Babel Plugin Macros

This is an example of how you can use Create React App with Babel Plugin Macros.

It demonstrates not only using one of the many published macros (specifically ms.macro), but also how to write and use your own with the evil.macro.js example.

It even works in codesandbox. (However, due to caching issues, modifying the macro itself on codesandbox is not currently working. Feel free to file an issue on codesandbox about this)

Learn how to get started writing your own macros.