mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-02-02 07:31:38 +01:00
Add explaining comment
This commit is contained in:
parent
4231037345
commit
b306344739
@ -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"]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user