Build main artifact / package (push) Successful in 1m11s
Lint info.xml / xml-lint (push) Successful in 14s
Lint PHP / php-lint (8.2) (push) Successful in 48s
Lint PHP / php-lint (8.3) (push) Successful in 39s
Lint PHP / php-lint (8.4) (push) Successful in 34s
PHPUnit / unit-tests (push) Successful in 37s
@nextcloud/vite-config prefixes every entry name with the app id, so the entry "workflow-deck-automation-personal-settings" was emitted as js/workflow_deck_automation-workflow-deck-automation-personal-settings.mjs while Util::addScript() was still asking for the unprefixed name. Nextcloud found neither the script nor the style, so only the empty mount div rendered and the settings page stayed blank. Shorten the entry to "personal-settings" and pass the full on-disk basename (APP_ID . '-personal-settings') to addScript()/addStyle(). Document the prefix rule and the intentionally near-empty CSS entry stub in CLAUDE.md.
15 lines
357 B
JavaScript
15 lines
357 B
JavaScript
import { createAppConfig } from '@nextcloud/vite-config'
|
|
|
|
export default createAppConfig({
|
|
// @nextcloud/vite-config prefixes every entry with the app id, so this
|
|
// emits js/workflow_deck_automation-personal-settings.mjs
|
|
'personal-settings': 'src/main.js',
|
|
}, {
|
|
createEmptyCSSEntryPoints: true,
|
|
config: {
|
|
build: {
|
|
cssCodeSplit: true,
|
|
},
|
|
},
|
|
})
|