Switch to Vite and prune dependencies
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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'),
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user