-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.js
26 lines (25 loc) · 945 Bytes
/
vite.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import react from '@vitejs/plugin-react';
import path from 'path';
export default defineConfig({
plugins: [
laravel({
input: [
'resources/sass/index.scss',
'resources/js/index.jsx'
],
refresh: true,
}),
react(),
],
resolve: {
alias: {
'~bootstrap': path.resolve(__dirname, 'node_modules/bootstrap'),
// '~bootstrap-js': path.resolve(__dirname, 'node_modules/bootstrap/dict/js/bootstrap.min.js'),
'~bootstrap-icons': path.resolve(__dirname, 'node_modules/bootstrap-icons/font/bootstrap-icons.css'),
'~remixicon': path.resolve(__dirname, 'node_modules/remixicon/fonts/remixicon.css'),
// '~fontawesome': path.resolve(__dirname, 'node_modules/@fortawesome/fontawesome-free'),
}
}
});