import preval from 'preval.macro'const one = preval`module.exports = 1 + 2 - 1 - 1`
Note:
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
using babel-plugin-macros (which you can read about in
the babel-plugin-macros docs).