feat(wepback): custom buildPathsupport (#10477)

Co-authored-by: farfromrefuge <dev@akylas.fr>
This commit is contained in:
Igor Randjelovic
2024-01-19 20:23:25 +01:00
committed by GitHub
parent ca886b9a1f
commit 429328495c
12 changed files with 26 additions and 19 deletions

View File

@ -138,7 +138,7 @@ export function getDistPath() {
}
// fallback to a generic platforms/<platform>/dist folder
return `platforms/${getPlatformName()}/dist`;
return `${env.buildPath ?? 'platforms'}/${getPlatformName()}/dist`;
}
/**