Skip to content

Commit

Permalink
Add asset copy plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
relliv committed Jun 2, 2024
1 parent 2b7b3d7 commit fee1cbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import vue from '@vitejs/plugin-vue';
import { viteStaticCopy } from 'vite-plugin-static-copy';

export default defineConfig({
plugins: [
Expand All @@ -16,6 +17,9 @@ export default defineConfig({
},
},
}),
viteStaticCopy({
targets: [{ src: 'resources/assets/*', dest: 'assets' }],
}),
],
resolve: {
alias: {
Expand Down

0 comments on commit fee1cbb

Please sign in to comment.