diff --git a/client/src/index.js b/client/src/index.js index d6da87ed..9a23739b 100644 --- a/client/src/index.js +++ b/client/src/index.js @@ -11,6 +11,7 @@ import { DOM, BdUI, BdMenu, Modals, Reflection } from 'ui'; import BdCss from './styles/index.scss'; import { Events, CssEditor, Globals, Settings, Database, Updater, ModuleManager, PluginManager, ThemeManager, ExtModuleManager, Vendor, WebpackModules, Patcher, MonkeyPatch, ReactComponents, ReactHelpers, ReactAutoPatcher, DiscordApi } from 'modules'; +import { ClientLogger as Logger, ClientIPC, Utils } from 'common'; import { EmoteModule } from 'builtin'; import electron from 'electron'; import path from 'path'; diff --git a/client/src/modules/globals.js b/client/src/modules/globals.js index 0551d6fc..3b0b5b3b 100644 --- a/client/src/modules/globals.js +++ b/client/src/modules/globals.js @@ -18,6 +18,7 @@ export default new class extends Module { constructor(args) { super(args); + // webpack replaces this with the normal require function // eslint-disable-next-line no-undef this.require = __non_webpack_require__; }