diff options
Diffstat (limited to 'src/webpack/common.tsx')
-rw-r--r-- | src/webpack/common.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webpack/common.tsx b/src/webpack/common.tsx index fa6bb0e..6ebad16 100644 --- a/src/webpack/common.tsx +++ b/src/webpack/common.tsx @@ -32,6 +32,8 @@ export const Flux = lazyWebpack(filters.byProps("connectStores")); export let React: typeof import("react"); export const ReactDOM: typeof import("react-dom") = lazyWebpack(filters.byProps("createPortal", "render")); +export const moment: typeof import("moment") = lazyWebpack(filters.byProps("parseTwoDigitYear")); + export const MessageStore = lazyWebpack(filters.byProps("getRawMessages")) as Omit<Stores.MessageStore, "getMessages"> & { getMessages(chanId: string): any; }; export const PermissionStore = lazyWebpack(filters.byProps("can", "getGuildPermissions")); export const PrivateChannelsStore = lazyWebpack(filters.byProps("openPrivateChannel")); |