DEV: Live reload styles in Ember CLI (#12043)

This commit is contained in:
Penar Musaraj 2021-02-11 10:36:34 -05:00 committed by GitHub
parent 956f849250
commit a6bb7e6d25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -233,6 +233,13 @@
head.append(script);
});
if (data.bootstrap.theme_ids) {
let theme_ids = document.createElement("meta");
theme_ids.setAttribute("name", "discourse_theme_ids");
theme_ids.setAttribute("content", data.bootstrap.theme_ids);
head.append(theme_ids);
}
loadScript(locale).then(() => {
define("I18n", ["exports"], function (exports) {
return I18n;