Skip to content

Commit

Permalink
[BUGFIX] Only validate config if it has been set
Browse files Browse the repository at this point in the history
  • Loading branch information
s2b committed Sep 15, 2024
1 parent 4ae93e4 commit 267a610
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/typo3project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ export default function typo3project(
);
},
configResolved(config) {
if (!pluginConfig) {
return;
}

if (config.build.manifest === false) {
logger.warn(
colors.red(
Expand All @@ -121,7 +125,7 @@ export default function typo3project(
);
}

if (pluginConfig && pluginConfig.debug) {
if (pluginConfig.debug) {
outputDebugInformation(
relevantExtensions,
entrypoints,
Expand Down

0 comments on commit 267a610

Please sign in to comment.