Add explaining comment
This commit is contained in:
parent
4231037345
commit
b306344739
1 changed files with 5 additions and 0 deletions
|
@ -35,6 +35,11 @@ export class ThemeLoader {
|
||||||
cache: true,
|
cache: true,
|
||||||
})
|
})
|
||||||
.response();
|
.response();
|
||||||
|
/*
|
||||||
|
After build has finished, the source section of each theme manifest
|
||||||
|
contains `built-asset` which is a mapping from the theme-name to the
|
||||||
|
location of the css file in build.
|
||||||
|
*/
|
||||||
Object.assign(this._themeMapping, body["source"]["built-asset"]);
|
Object.assign(this._themeMapping, body["source"]["built-asset"]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue