mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
32 lines
806 B
JavaScript
32 lines
806 B
JavaScript
import { defineConfig } from 'vite';
|
|
import laravel, { refreshPaths } from 'laravel-vite-plugin';
|
|
import { viteStaticCopy } from 'vite-plugin-static-copy';
|
|
|
|
export default defineConfig({
|
|
server: {
|
|
hmr: {
|
|
host: 'localhost',
|
|
},
|
|
},
|
|
plugins: [
|
|
viteStaticCopy({
|
|
targets: [
|
|
// {
|
|
// src: 'node_modules/js-confetti/dist/js-confetti.min.js',
|
|
// dest: 'js-confetti/js-confetti.min.js'
|
|
// }
|
|
]
|
|
}),
|
|
laravel({
|
|
input: [
|
|
'resources/css/app.css',
|
|
'resources/js/app.js',
|
|
],
|
|
refresh: [
|
|
...refreshPaths,
|
|
'app/Http/Livewire/**',
|
|
],
|
|
}),
|
|
],
|
|
});
|