structure updates

This commit is contained in:
Mark Gregory
2026-08-26 15:34:45 +01:00
parent 138a028537
commit 7546698a3c
7 changed files with 537 additions and 16 deletions
+7 -1
View File
@@ -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,