-
Notifications
You must be signed in to change notification settings - Fork 73
/
vite.config.js
29 lines (28 loc) · 1017 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
27
28
29
import { defineConfig, normalizePath } from 'vite';
import {resolve} from 'path';
import laravel from 'laravel-vite-plugin';
const path = require('path')
export default defineConfig({
resolve: {
alias: {
'@': normalizePath(resolve(__dirname, 'resource')),
'~bootstrap': resolve(__dirname, 'node_modules/bootstrap'),
'~bootstrap-icons': resolve(__dirname, 'node_modules/bootstrap-icons'),
'~perfect-scrollbar': resolve(__dirname, 'node_modules/perfect-scrollbar'),
'~@fontsource': resolve(__dirname, 'node_modules/@fontsource'),
}
},
plugins: [
laravel({
input: [
"resources/sass/bootstrap.scss",
"resources/sass/themes/dark/app-dark.scss",
"resources/js/app.js",
"resources/css/app.css",
"resources/sass/app.scss",
"resources/sass/pages/auth.scss"
],
refresh: true
}),
],
});