You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
511 B
21 lines
511 B
import path from 'path';
|
|
import { defineConfig } from 'vite';
|
|
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
build: {
|
|
target: 'esnext',
|
|
assetsDir: '',
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@app': path.resolve(__dirname, './src'),
|
|
'@pages': path.resolve(__dirname, './src/pages'),
|
|
'@components': path.resolve(__dirname, './src/components'),
|
|
'@core': path.resolve(__dirname, './src/core'),
|
|
},
|
|
},
|
|
});
|
|
|