mirror of
https://github.com/Lissy93/web-check.git
synced 2025-05-30 15:08:54 +02:00
Configuration for Vite
This commit is contained in:
parent
bb6845d044
commit
e3214660d0
14
vite.config.js
Normal file
14
vite.config.js
Normal 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'],
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
],
|
||||||
|
});
|
Loading…
x
Reference in New Issue
Block a user