Babel Plugin Macros Versions Save

🎣 Allows you to build simple compile-time libraries

v2.2.0

6 years ago

2.2.0 (2018-03-02)

Features

  • require: Make require function configurable (#60) (d7cb81c)

v2.1.0

6 years ago

2.1.0 (2018-01-27)

Features

v2.0.1

6 years ago

2.0.1 (2018-01-27)

Bug Fixes

  • require: interop with destructuring transform (#51) (ec116e4)

v2.0.0

6 years ago

babel-macros -> babel-plugin-macros

We've improved support for babel @ 7 by renaming the package to babel-plugin-macros (so now you can simply use macros in your .babelrc file). You should be able to switch babel-macros with babel-plugin-macros everywhere and it should just work. Enjoy!

v1.2.0

6 years ago

1.2.0 (2017-10-27)

Features

  • support destructuring CommonJS imports (#40) (9cc6765)

v1.1.1

6 years ago

1.1.1 (2017-10-16)

Bug Fixes

  • config: configName should use options.configName instead in getConfig function (#39) (9fdace8)

v1.1.0

6 years ago

1.1.0 (2017-10-15)

Features

  • config: add support for configuring a macro (#36) (ab0e6c9), closes #26

v1.0.3

6 years ago

1.0.3 (2017-10-14)

Bug Fixes

  • improve macro detection (945c8eb)

v1.0.2

6 years ago

1.0.2 (2017-09-09)

Bug Fixes

  • show correct npm url for macros with a slash (#27) (6cf7f7c)

v1.0.1

6 years ago

1.0.1 (2017-09-08)

Bug Fixes

  • createMacro: force wrapping macros in createMacro (f7c9881)