Thanks to xet7 ! Fixes #5751, related https://github.com/wekan/wekan/pull/5748
@@ -2,16 +2,13 @@ import { TAPi18n } from './tap';
import './accounts';
import './moment';
-export { TAPi18n };
-
if (Meteor.isClient) {
- (async () => {
- await import('./blaze');
- await TAPi18n.init();
- })();
-} else {
+ import './blaze';
}
+export { TAPi18n };
+
+(async () => {
+ await TAPi18n.init();
+})();