2023-05-09 00:22:00 +00:00
|
|
|
import path from 'path';
|
|
|
|
import { defineConfig } from 'vite';
|
|
|
|
import react from '@vitejs/plugin-react';
|
2023-05-07 19:11:16 +00:00
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
|
|
|
plugins: [react()],
|
2023-05-09 00:22:00 +00:00
|
|
|
resolve: {
|
|
|
|
alias: {
|
|
|
|
'~': path.resolve(__dirname, 'src'),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|