20 lines
469 B
JavaScript
20 lines
469 B
JavaScript
import { defineConfig } from 'vite';
|
|
import laravel from 'laravel-vite-plugin';
|
|
import react from '@vitejs/plugin-react';
|
|
import copy from "rollup-plugin-copy";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
laravel({
|
|
input: 'resources/js/app.tsx',
|
|
refresh: true,
|
|
}),
|
|
react(),
|
|
copy({
|
|
targets: [
|
|
{ src: 'resources/images/*', dest: 'public/images' },
|
|
]
|
|
}),
|
|
],
|
|
});
|