UNPKG

infrastructure-components

Version:

Infrastructure-Components configure the infrastructure of your React-App as part of your React-Components.

36 lines (23 loc) 369 B
# babel-plugin-syntax-jsx ## Installation ```sh $ npm install babel-plugin-syntax-jsx ``` ## Usage ### Via `.babelrc` (Recommended) **.babelrc** ```json { "plugins": ["syntax-jsx"] } ``` ### Via CLI ```sh $ babel --plugins syntax-jsx script.js ``` ### Via Node API ```javascript require("babel-core").transform("code", { plugins: ["syntax-jsx"] }); ```