Please see those projects for more information.
npm install --save-dev preval.macro
You'll also need to install and configure
babel-plugin-macros if you haven't already.
you can import/require
preval.macro. For example:
import preval from 'preval.macro' const one = preval`module.exports = 1 + 2 - 1 - 1`
babel-plugin-preval allows you to have a few more APIs
than you have with this macro, but this macro comes with all the benefits of
babel-plugin-macros (which you can read about in