From 25eaa498e18aefc3a59a3111ed6418d66f4eb51b Mon Sep 17 00:00:00 2001 From: Curtis Delicata Date: Thu, 25 Jul 2024 13:02:11 +0000 Subject: [PATCH] Upgrade --- vite.config.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 3996b685..bd57ebdc 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,10 +1,12 @@ import { defineConfig } from 'vite' import laravel, { refreshPaths } from 'laravel-vite-plugin' +import { viteStaticCopy } from "vite-plugin-static-copy"; export default defineConfig({ plugins: [ laravel({ - input: ['resources/css/app.css', 'resources/js/app.js'], + input: ['resources/css/app.css', 'resources/js/app.js', + 'resources/css/filament/admin/theme.css'], refresh: [ ...refreshPaths, 'app/Filament/**', @@ -15,5 +17,13 @@ export default defineConfig({ 'app/Tables/Columns/**', ], }), + viteStaticCopy({ + targets: [ + { + src: "resources/images/*", + dest: "images", + }, + ], + }), ], })