mirror of
https://github.com/wu736139669/Monkey-Test.git
synced 2026-08-06 06:14:53 +00:00
378 B
378 B
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"]
});