# rollup-plugin-jsx

> Rollup jsx plugin

Latest version **1.0.3** (published 2016-05-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install rollup-plugin-jsx
pnpm add rollup-plugin-jsx
yarn add rollup-plugin-jsx
bun add rollup-plugin-jsx
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2016-05-17 |
| First published | 2016-05-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | David Konsumer |
| Maintainers | konsumer |
| Keywords | rollup-plugin, jsx, react |

## Links

- npm: https://www.npmjs.com/package/rollup-plugin-jsx
- Repository: https://github.com/konsumer/rollup-plugin-jsx
- Homepage: https://github.com/konsumer/rollup-plugin-jsx#readme
- Issues: https://github.com/konsumer/rollup-plugin-jsx/issues
- npm.io page: https://npm.io/package/rollup-plugin-jsx

## Dependencies (3)

- [magic-string](https://npm.io/package/magic-string.md) ^0.14.0
- [jsx-transform](https://npm.io/package/jsx-transform.md) ^2.3.0
- [rollup-pluginutils](https://npm.io/package/rollup-pluginutils.md) ^1.3.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2016-05-17
- 1.0.2 — 2016-05-17
- 1.0.1 — 2016-05-16

## README

# rollup jsx plugin

This is a simple wrapper around [jsx-transform](https://github.com/alexmingoia/jsx-transform). Make sure to go check that out for options.

Install it with `npm install rollup-plugin-jsx`

Use it like this in your config:

```js
import jsx from 'rollup-plugin-jsx'

export default {
  dest: 'build/app.js',
  entry: 'src/index.js',
  plugins: [
    jsx( {factory: 'React.createElement'} )
  ],
  sourceMap: true
}

```

For a more complete example, see [buble-react-rollup-starter](https://github.com/yamafaktory/buble-react-rollup-starter)

---
_Source: https://npm.io/package/rollup-plugin-jsx · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
