forked from phpvms/phpvms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvite.config.js
44 lines (43 loc) · 1.46 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
35
36
37
38
39
40
41
42
43
44
import { defineConfig } from "vite";
import laravel, { refreshPaths } from "laravel-vite-plugin";
// import react from '@vitejs/plugin-react';
// import vue from '@vitejs/plugin-vue';
export default defineConfig({
plugins: [
laravel({
input: [
"resources/sass/app.scss",
// "resources/sass/admin/paper-dashboard.scss",
"resources/sass/frontend/styles.scss",
"resources/sass/now-ui/now-ui-kit.scss",
"resources/sass/fonts/glyphicons-halflings-regular.woff2",
"resources/sass/fonts/Pe-icon-7-stroke.eot",
"resources/sass/fonts/Pe-icon-7-stroke.svg",
"resources/sass/fonts/Pe-icon-7-stroke.ttf",
"resources/sass/fonts/Pe-icon-7-stroke.woff",
// "resources/js/admin/app.js",
// "resources/js/admin/airport_lookup.js",
// "resources/js/admin/calculate_distance.js",
"resources/js/common.js",
"resources/js/config.js",
"resources/js/entrypoint.js",
"resources/js/request.js",
"resources/js/storage.js",
"resources/js/frontend/app.js",
"resources/js/frontend/bids.js",
"resources/js/installer/app.js",
"public/assets/global/js/jquery.js",
"public/assets/global/js/simbrief.apiv1.js",
],
refresh: [...refreshPaths, "app/Filament/**", "modules/**/**"],
}),
],
// server: {
// hmr: {
// host: "localhost",
// },
// watch: {
// usePolling: true,
// },
// },
});