We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef848a2 commit 160cc55Copy full SHA for 160cc55
example/package.json
@@ -16,8 +16,8 @@
16
"devDependencies": {
17
"@types/react": "^17.0.4",
18
"@types/react-dom": "^17.0.3",
19
- "@vitejs/plugin-react-refresh": "^1.3.3",
+ "@vitejs/plugin-react": "^2.0.0",
20
"typescript": "^4.2.4",
21
- "vite": "^2.2.3"
+ "vite": "^3.0.5"
22
}
23
example/vite.config.ts
@@ -1,7 +1,7 @@
1
import { defineConfig } from 'vite';
2
-import reactRefresh from '@vitejs/plugin-react-refresh';
+import react from '@vitejs/plugin-react';
3
4
// https://vitejs.dev/config/
5
export default defineConfig({
6
- plugins: [reactRefresh()],
+ plugins: [react()],
7
});
0 commit comments