17 lines
328 B
JavaScript
17 lines
328 B
JavaScript
|
|
/* eslint-disable no-undef */
|
||
|
|
import { defineConfig } from 'vite';
|
||
|
|
import react from '@vitejs/plugin-react';
|
||
|
|
import path from 'path';
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
plugins: [
|
||
|
|
react({
|
||
|
|
jsxImportSource: '@emotion/react'
|
||
|
|
})
|
||
|
|
],
|
||
|
|
resolve: {
|
||
|
|
alias: {
|
||
|
|
'@src': path.resolve(__dirname, './src'),
|
||
|
|
}
|
||
|
|
}
|
||
|
|
})
|