make sure css & js from plugins are also built

This commit is contained in:
Boy132 2025-08-04 10:05:40 +02:00
parent ef2bae409d
commit 5427e08f3c

View File

@ -1,7 +1,7 @@
import { defineConfig } from 'vite';
import tailwindcss from '@tailwindcss/vite';
import laravel, { refreshPaths } from 'laravel-vite-plugin';
import { globSync } from 'glob';
import { globSync } from "glob";
export default defineConfig({
plugins: [
@ -9,6 +9,9 @@ export default defineConfig({
input: [
...globSync('resources/css/**/*.css'),
...globSync('resources/js/**/*.js'),
...globSync('plugins/*/resources/css/**/*.css'),
...globSync('plugins/*/resources/js/**/*.js'),
],
refresh: true,
}),