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