Add explaining comment

This commit is contained in:
RMidhunSuresh 2022-07-19 19:46:36 +05:30
parent 994667205f
commit de02456641
1 changed files with 1 additions and 0 deletions

View File

@ -343,6 +343,7 @@ module.exports = function buildThemes(options) {
const assetHashedName = this.getFileName(ref);
nameToAssetHashedLocation[name] = assetHashedName;
}
// Update icon section in output manifest with paths to the icon in build output
for (const [variable, location] of Object.entries(icon)) {
const [locationWithoutQueryParameters, queryParameters] = location.split("?");
const name = path.basename(locationWithoutQueryParameters);