-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvite.config.js
More file actions
21 lines (19 loc) · 589 Bytes
/
vite.config.js
File metadata and controls
21 lines (19 loc) · 589 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
// import vue2 from '@vitejs/plugin-vue2';
export default defineConfig({
plugins: [
laravel({
input: [
'resources/css/site.css',
'resources/js/site.js',
// Control Panel assets.
// https://statamic.dev/extending/control-panel#adding-css-and-js-assets
// 'resources/css/cp.css',
// 'resources/js/cp.js',
],
refresh: true,
}),
// vue2(),
],
});