Skip to content

Commit

Permalink
generate relative paths only for html mode
Browse files Browse the repository at this point in the history
  • Loading branch information
martyanovandrey committed Oct 2, 2022
1 parent 1b2bdbc commit 655333b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/steps/processPages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export async function processPages(outputBundlePath: string): Promise<void> {

const metaDataOptions = getMetaDataOptions(pathData, inputFolderPath.length, vcsConnector);

if (allowCustomResources && metaDataOptions.resources) {
if (allowCustomResources && metaDataOptions.resources && outputFormat === 'html') {
metaDataOptions.resources = getResolvedResourcePaths(metaDataOptions.resources, getAssetsPublicPath(pathToFile));
}

Expand Down

0 comments on commit 655333b

Please sign in to comment.