2022-08-20 21:12:10 +00:00
|
|
|
import { defineConfig } from 'vite';
|
|
|
|
import laravel from 'laravel-vite-plugin';
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
build: {
|
|
|
|
outDir: 'public',
|
2023-05-28 20:49:45 +00:00
|
|
|
rollupOptions: {
|
|
|
|
output: {
|
|
|
|
entryFileNames: `[name].js`,
|
|
|
|
assetFileNames: `[name].[ext]`
|
|
|
|
},
|
|
|
|
},
|
2022-08-20 21:12:10 +00:00
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
laravel({
|
|
|
|
input: [
|
|
|
|
'resources/sass/app.scss',
|
|
|
|
'resources/js/app.js',
|
|
|
|
],
|
|
|
|
refresh: false,
|
|
|
|
}),
|
|
|
|
],
|
2023-05-28 20:49:45 +00:00
|
|
|
});
|