Skip to content

Commit e321466

Browse files
committed
Configuration for Vite
1 parent bb6845d commit e321466

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

vite.config.js

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// vite.config.js
2+
import { defineConfig } from 'vite';
3+
import react from '@vitejs/plugin-react';
4+
5+
export default defineConfig({
6+
plugins: [
7+
react({
8+
jsxImportSource: '@emotion/react',
9+
babel: {
10+
plugins: ['babel-plugin-styled-components'],
11+
},
12+
}),
13+
],
14+
});

0 commit comments

Comments
 (0)