24 lines
598 B
JavaScript
24 lines
598 B
JavaScript
import { defineConfig } from 'vite';
|
|
import laravel from 'laravel-vite-plugin';
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
laravel({
|
|
input: [
|
|
// -- Default
|
|
'resources/css/app.css',
|
|
'resources/js/app.js',
|
|
|
|
//-- Backend
|
|
'resources/scss/backend/app.scss',
|
|
'resources/js/backend/app.js',
|
|
|
|
//-- Frontend
|
|
'resources/scss/frontend/app.scss',
|
|
'resources/js/frontend/app.js'
|
|
],
|
|
refresh: true,
|
|
}),
|
|
],
|
|
});
|