mirror of
https://github.com/wu736139669/Monkey-Test.git
synced 2026-08-05 05:55:46 +00:00
babel-plugin-eval
Compile eval calls with string literals
Installation
$ npm install babel-plugin-eval
Usage
Via .babelrc (Recommended)
.babelrc
{
"plugins": ["eval"]
}
Via CLI
$ babel --plugins eval script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["eval"]
});