forked from zuramai/laravel-mazer
-
Notifications
You must be signed in to change notification settings - Fork 5
/
vite.config.js
34 lines (33 loc) · 1.03 KB
/
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
30
31
32
33
34
import laravel from "laravel-vite-plugin";
import { resolve } from 'path';
import { defineConfig } from "vite";
export default defineConfig({
resolve: {
alias: {
"~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/sass/app.scss",
"resources/sass/pages/auth.scss",
"resources/css/app.css",
"resources/js/app.js",
"resources/js/initTheme.js"
],
refresh: true,
}),
],
});