24 lines
524 B
JavaScript
24 lines
524 B
JavaScript
|
import { defineConfig } from 'vite';
|
||
|
import laravel from 'laravel-vite-plugin';
|
||
|
|
||
|
export default defineConfig({
|
||
|
build: {
|
||
|
outDir: 'public',
|
||
|
rollupOptions: {
|
||
|
output: {
|
||
|
entryFileNames: `[name].js`,
|
||
|
assetFileNames: `[name].[ext]`
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
plugins: [
|
||
|
laravel({
|
||
|
input: [
|
||
|
'resources/sass/app.scss',
|
||
|
'resources/js/app.js',
|
||
|
],
|
||
|
refresh: false,
|
||
|
}),
|
||
|
],
|
||
|
});
|