Gazebo_simulation-Frontend/node_modules/babel-plugin-syntax-jsx
Riddhi Dave f4870cd530 simulator page updates 2020-12-22 09:59:14 -05:00
..
lib React files 2020-12-21 10:29:31 -05:00
.npmignore React files 2020-12-21 10:29:31 -05:00
README.md React files 2020-12-21 10:29:31 -05:00
package.json simulator page updates 2020-12-22 09:59:14 -05:00

README.md

babel-plugin-syntax-jsx

Installation

$ npm install babel-plugin-syntax-jsx

Usage

.babelrc

{
  "plugins": ["syntax-jsx"]
}

Via CLI

$ babel --plugins syntax-jsx script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["syntax-jsx"]
});