mirror of
https://github.com/Lissy93/web-check.git
synced 2025-12-19 18:12:23 -05:00
Configuration for Vite
This commit is contained in:
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'],
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
],
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user