Windows build fix (#159)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2020-03-26 20:40:36 +02:00
1 parent d7c22c8dc5
commit 4ead24bd9d
10 files changed
+206 -205

No files matched your search

+2 -2
View File
@@ -44,7 +44,7 @@ export class LocalizationStore {
async load(locale: string) {
const catalog = await import(
/* webpackMode: "lazy", webpackChunkName: "locale/[request]" */
`@lingui/loader!../locales/${locale}/messages.po`
`../locales/${locale}/messages.js`
);
return _i18n.load(locale, catalog);
}
@@ -59,4 +59,4 @@ export class LocalizationStore {
}
}
export const i18nStore = new LocalizationStore();
export const i18nStore = new LocalizationStore();