Configuration for Vite

This commit is contained in:
Alicia Sykes 2024-05-05 17:44:14 +01:00
parent bb6845d044
commit e3214660d0

14
vite.config.js Normal file
View File

@ -0,0 +1,14 @@
// vite.config.js
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [
react({
jsxImportSource: '@emotion/react',
babel: {
plugins: ['babel-plugin-styled-components'],
},
}),
],
});