forked from nasirkhan/laravel-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.js
33 lines (31 loc) · 942 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
30
31
32
33
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import path from 'path';
export default defineConfig({
plugins: [
laravel({
input: [
'resources/css/app-frontend.css',
'resources/js/app-frontend.js',
'resources/sass/app-backend.scss',
'resources/js/app-backend.js',
],
// refresh: true,
refresh: [
'app/View/Components/**',
'lang/**',
'resources/lang/**',
'resources/views/**',
'resources/routes/**',
'routes/**',
'Modules/**/Resources/lang/**',
'Modules/**/Resources/views/**/*.blade.php',
],
}),
],
resolve: {
alias: {
'~coreui': path.resolve(__dirname, 'node_modules/@coreui/coreui'),
}
},
});