forked from mystiq/hydrogen-web
Add explaining comment
This commit is contained in:
parent
994667205f
commit
de02456641
1 changed files with 1 additions and 0 deletions
|
@ -343,6 +343,7 @@ module.exports = function buildThemes(options) {
|
||||||
const assetHashedName = this.getFileName(ref);
|
const assetHashedName = this.getFileName(ref);
|
||||||
nameToAssetHashedLocation[name] = assetHashedName;
|
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)) {
|
for (const [variable, location] of Object.entries(icon)) {
|
||||||
const [locationWithoutQueryParameters, queryParameters] = location.split("?");
|
const [locationWithoutQueryParameters, queryParameters] = location.split("?");
|
||||||
const name = path.basename(locationWithoutQueryParameters);
|
const name = path.basename(locationWithoutQueryParameters);
|
||||||
|
|
Loading…
Reference in a new issue