poi-plugin-react

Support React JSX by default - react-hot-loader@3

Usage no npm install needed!

<script type="module">
  import poiPluginReact from 'https://cdn.skypack.dev/poi-plugin-react';
</script>

README

poi-plugin-react

Features

  • Support React JSX by default
  • react-hot-loader@3

Install

yarn add react react-dom
yarn add poi-plugin-react --dev

Usage

module.exports = {
  plugins: [
    require('poi-plugin-react')()
  ]
}

Note: You don't need to set jsx: 'react' in config to use this plugin.

License

MIT © EGOIST