From a0a1a4d139b6408419cd564611c26bd0dbade145 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Mon, 28 Nov 2022 13:58:14 +0100 Subject: enforce path aliases with eslint --- src/webpack/common.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/webpack/common.tsx') diff --git a/src/webpack/common.tsx b/src/webpack/common.tsx index e606f16..bd6a69a 100644 --- a/src/webpack/common.tsx +++ b/src/webpack/common.tsx @@ -18,13 +18,15 @@ import { LazyComponent } from "@utils/misc"; import { proxyLazy } from "@utils/proxyLazy"; +import { + _resolveReady, + filters, findByCode, findByCodeLazy, findByPropsLazy, mapMangledModule, mapMangledModuleLazy, waitFor +} from "@webpack"; import type Components from "discord-types/components"; import { User } from "discord-types/general"; import type Other from "discord-types/other"; import type Stores from "discord-types/stores"; -import { _resolveReady, filters, findByCode, findByCodeLazy, findByPropsLazy, mapMangledModule, mapMangledModuleLazy, waitFor } from "./webpack"; - export const Margins = findByPropsLazy("marginTop20"); export let FluxDispatcher: Other.FluxDispatcher; -- cgit