UNPKG

kitchensink

Version:

Dispatch's awesome components and style guide

36 lines (24 loc) 378 B
# babel-plugin-eval Compile eval calls with string literals ## Installation ```sh $ npm install babel-plugin-eval ``` ## Usage ### Via `.babelrc` (Recommended) **.babelrc** ```json { "plugins": ["eval"] } ``` ### Via CLI ```sh $ babel --plugins eval script.js ``` ### Via Node API ```javascript require("babel-core").transform("code", { plugins: ["eval"] }); ```