diff --git a/src/steps/processPages.ts b/src/steps/processPages.ts index d0b0ccad2..f60a28ac1 100644 --- a/src/steps/processPages.ts +++ b/src/steps/processPages.ts @@ -54,7 +54,7 @@ export async function processPages(outputBundlePath: string): Promise { const metaDataOptions = getMetaDataOptions(pathData, inputFolderPath.length, vcsConnector); - if (allowCustomResources && metaDataOptions.resources) { + if (allowCustomResources && metaDataOptions.resources && outputFormat === 'html') { metaDataOptions.resources = getResolvedResourcePaths(metaDataOptions.resources, getAssetsPublicPath(pathToFile)); }