Modify comment
This commit is contained in:
parent
8ad0b8a726
commit
46d2792dac
1 changed files with 3 additions and 1 deletions
|
@ -34,6 +34,7 @@ type DefaultVariant = {
|
|||
variantName: string;
|
||||
};
|
||||
}
|
||||
|
||||
type ThemeInformation = NormalVariant | DefaultVariant;
|
||||
|
||||
export class ThemeLoader {
|
||||
|
@ -57,7 +58,8 @@ export class ThemeLoader {
|
|||
/*
|
||||
After build has finished, the source section of each theme manifest
|
||||
contains `built-assets` which is a mapping from the theme-name to theme
|
||||
details which includes the location of the CSS file.
|
||||
information which includes the location of the CSS file.
|
||||
(see type ThemeInformation above)
|
||||
*/
|
||||
Object.assign(this._themeMapping, body["source"]["built-assets"]);
|
||||
//Add the default-theme as an additional option to the mapping
|
||||
|
|
Reference in a new issue