2025-01-06 17:04:33 +02:00
|
|
|
import { defineConfig } from 'vite';
|
2025-09-08 13:12:33 -04:00
|
|
|
import tailwindcss from '@tailwindcss/vite';
|
2025-07-01 17:13:44 -04:00
|
|
|
import laravel, { refreshPaths } from 'laravel-vite-plugin';
|
2025-08-04 11:51:18 +02:00
|
|
|
import { globSync } from 'glob';
|
2025-01-06 17:04:33 +02:00
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [
|
|
|
|
|
laravel({
|
2025-07-01 17:13:44 -04:00
|
|
|
input: [
|
2025-08-04 11:51:18 +02:00
|
|
|
...globSync('resources/css/**/*.css'),
|
|
|
|
|
...globSync('resources/js/**/*.js'),
|
2025-12-20 00:32:13 +01:00
|
|
|
|
|
|
|
|
...globSync('plugins/*/resources/css/**/*.css'),
|
|
|
|
|
...globSync('plugins/*/resources/js/**/*.js'),
|
2025-01-06 17:04:33 +02:00
|
|
|
],
|
2025-09-08 13:12:33 -04:00
|
|
|
refresh: true,
|
2025-01-06 17:04:33 +02:00
|
|
|
}),
|
2025-09-08 13:12:33 -04:00
|
|
|
tailwindcss(),
|
2025-01-06 17:04:33 +02:00
|
|
|
],
|
|
|
|
|
});
|