Skip to content

Commit 0b7f20a

Browse files
committed
Update vite config
1 parent a376e71 commit 0b7f20a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/index.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from 'react';
12
import ReactDOM from 'react-dom';
23
import './index.css';
34
import App from './App';

vite.config.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,5 @@ import react from '@vitejs/plugin-react';
33

44
// https://vitejs.dev/config/
55
export default defineConfig({
6-
plugins: [
7-
react({
8-
jsxRuntime: 'classic',
9-
}),
10-
],
6+
plugins: [react()],
117
});

0 commit comments

Comments
 (0)