/vite-plugin-react-refresh

React Fast Refresh plugin for Vite

Primary LanguageTypeScriptMIT LicenseMIT

[ARCHIVED] vite-plugin-react

This repo has moved to @vitejs/plugin-react-refresh.


Provides React Fast Refresh support for Vite 1.

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')]
}