Basic web interface
This commit is contained in:
@@ -1,11 +1,19 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import path from 'path';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, './src'),
|
||||
'components': path.resolve(__dirname, './src/components')
|
||||
},
|
||||
extensions: ['.js', '.jsx']
|
||||
},
|
||||
build: {
|
||||
outDir: 'dist',
|
||||
assetsDir: 'assets',
|
||||
base: '/'
|
||||
}
|
||||
})
|
||||
});
|
||||
Reference in New Issue
Block a user