JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4332
  • Score
    100M100P100Q119884F
  • License MIT

React fast refresh plugin for Vite

Package Exports

  • vite-plugin-react
  • vite-plugin-react/dist/transform

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vite-plugin-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

vite-plugin-react

Provides React Fast Refresh support for Vite.

This plugin is included by default in the create-vite-app React template.

// vite.config.js
module.exports = {
  jsx: 'react',
  plugins: [require('vite-plugin-react')]
}