Skip to content

Commit

Permalink
Upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisdelicata committed Jul 25, 2024
1 parent cae3121 commit 25eaa49
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
@@ -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/**',
Expand All @@ -15,5 +17,13 @@ export default defineConfig({
'app/Tables/Columns/**',
],
}),
viteStaticCopy({
targets: [
{
src: "resources/images/*",
dest: "images",
},
],
}),
],
})

0 comments on commit 25eaa49

Please sign in to comment.