babel-plugin-eval
Compile eval calls with string literals
Installation
$ npm install babel-plugin-eval
Usage
.babelrc
(Recommended)
Via .babelrc
{
"plugins": ["eval"]
}
Via CLI
$ babel --plugins eval script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["eval"]
});