23 lines
488 B
TypeScript
23 lines
488 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react-swc';
|
|
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@mui/styled-engine': '@mui/styled-engine-sc',
|
|
},
|
|
},
|
|
optimizeDeps: {
|
|
include: [
|
|
'react',
|
|
'react-dom',
|
|
'@mui/material',
|
|
'@excalidraw/excalidraw',
|
|
'styled-components',
|
|
],
|
|
},
|
|
plugins: [react(), tsconfigPaths()],
|
|
});
|