forked from relaticle/relaticle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvite.config.js
More file actions
30 lines (29 loc) · 906 Bytes
/
vite.config.js
File metadata and controls
30 lines (29 loc) · 906 Bytes
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
import {defineConfig} from 'vite';
import laravel from 'laravel-vite-plugin';
import tailwindcss from "@tailwindcss/vite";
import path from 'path';
export default defineConfig({
plugins: [
laravel({
input: [
// Marketing website
'resources/css/app.css',
'resources/js/app.js',
// Filament
'resources/css/filament/app/theme.css',
'resources/css/filament/admin/theme.css',
// Documentation
'app-modules/Documentation/resources/css/documentation.css',
'app-modules/Documentation/resources/js/documentation.js',
],
refresh: true,
}),
tailwindcss(),
],
resolve: {
alias: {
'@': '/resources/js',
'~': path.resolve(__dirname, './resources'),
},
},
});