babel-plugin-syntax-jsx
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/babel-plugin-syntax-jsx package

6.18.0 • Public • Published

babel-plugin-syntax-jsx

Installation

$ npm install babel-plugin-syntax-jsx

Usage

Via .babelrc (Recommended)

.babelrc

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

Via CLI

$ babel --plugins syntax-jsx script.js

Via Node API

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

Readme

Keywords

Package Sidebar

Install

npm i babel-plugin-syntax-jsx

Weekly Downloads

3,770,540

Version

6.18.0

License

MIT

Last publish

Collaborators

  • hzoo
  • loganfsmyth
  • existentialism