structure updates
This commit is contained in:
+7
-1
@@ -6,6 +6,12 @@ import { existsSync, readdirSync, statSync } from 'node:fs';
|
||||
import { join, relative } from 'node:path';
|
||||
|
||||
const projectRoot = process.cwd();
|
||||
|
||||
const backendCssEntry = existsSync(
|
||||
join(projectRoot, 'resources/themes/backend/assets/css/app.css')
|
||||
)
|
||||
? 'resources/themes/backend/assets/css/app.css'
|
||||
: 'resources/themes/backend/assets/css/helpdesk.css';
|
||||
function discoverModuleInputs() {
|
||||
const modulesPath = join(projectRoot, 'Modules');
|
||||
if (!existsSync(modulesPath)) return [];
|
||||
@@ -25,7 +31,7 @@ export default defineConfig({
|
||||
plugins:[
|
||||
laravel({
|
||||
input:[
|
||||
'resources/themes/backend/assets/css/app.css',
|
||||
backendCssEntry,
|
||||
'resources/themes/backend/assets/js/passkeys.js',
|
||||
'resources/themes/backend/assets/js/layout.js',
|
||||
...moduleInputs,
|
||||
|
||||
Reference in New Issue
Block a user