From 5427e08f3ccb6f25f7c02fb7bf4fcd320595624d Mon Sep 17 00:00:00 2001 From: Boy132 Date: Mon, 4 Aug 2025 10:05:40 +0200 Subject: [PATCH] make sure css & js from plugins are also built --- vite.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index be2ab1d10..78ee0b380 100644 --- a/vite.config.js +++ b/vite.config.js @@ -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, }),