From e3214660d0504048ae43420b4fd717371f9021b0 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 5 May 2024 17:44:14 +0100 Subject: [PATCH] Configuration for Vite --- vite.config.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 vite.config.js diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..73acc92 --- /dev/null +++ b/vite.config.js @@ -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'], + }, + }), + ], +});