it_security_template/vite.config.js
Daeng Deni Mardaeni 0c2bb15b58 Feature 1# : Update Compiling Asset and Modular
- Add Modular Package
- Update Compiler asset to handle modular
- update route to url on view
- Move User Models and MIgration to to Module Usermanagement
- Remove Database Seeder
2024-07-31 17:39:21 +07:00

19 lines
431 B
JavaScript

import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import collectModuleAssetsPaths from './vite-module-loader.js';
const paths = [
'resources/css/app.scss',
'resources/js/app.js',
];
const allPaths = await collectModuleAssetsPaths(paths, 'Modules');
export default defineConfig({
plugins: [
laravel({
input: allPaths,
refresh: true,
}),
],
});