Socket
Socket
Sign inDemoInstall

rollup-plugin-jsx

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-jsx

Rollup jsx plugin


Version published
Weekly downloads
1K
decreased by-4.81%
Maintainers
1
Weekly downloads
 
Created
Source

rollup jsx plugin

This is a simple wrapper around 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:

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

Keywords

FAQs

Package last updated on 16 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc