22 lines
395 B
JavaScript
22 lines
395 B
JavaScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import path from 'path';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
'@icons': path.resolve(__dirname, 'node_modules/bootstrap-icons/icons'),
|
|
},
|
|
},
|
|
server: {
|
|
fs: {
|
|
allow: ['.'],
|
|
},
|
|
},
|
|
build: {
|
|
rollupOptions: {
|
|
external: [],
|
|
},
|
|
},
|
|
}); |