laravel-package-skeleton/vite.config.js

20 lines
453 B
JavaScript

import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
export default defineConfig({
build: {
outDir: 'public',
assetsDir: '',
},
plugins: [
laravel({
input: [
'resources/sass/app.scss',
'resources/js/app.js',
],
refresh: false,
publicDirectory: 'public',
buildDirectory: '.',
}),
],
});