From 8adf7ca155a7f2b9d59ecfcc98ca47d123a26f59 Mon Sep 17 00:00:00 2001 From: Ven Date: Sun, 30 Oct 2022 20:45:18 +0100 Subject: Webpack Warnings & Errors (#178) * dev: Useful strict Warnings & Errors * Always log error * Ignore pending patches with all or whose predicate = false * Error -> Warn --- src/webpack/common.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webpack/common.tsx') diff --git a/src/webpack/common.tsx b/src/webpack/common.tsx index f5b2401..4c59102 100644 --- a/src/webpack/common.tsx +++ b/src/webpack/common.tsx @@ -23,7 +23,7 @@ import type Stores from "discord-types/stores"; import { lazyWebpack } from "../utils/misc"; import { _resolveReady, filters, mapMangledModuleLazy, waitFor } from "./webpack"; -export const Margins = lazyWebpack(filters.byProps(["marginTop20"])); +export const Margins = lazyWebpack(filters.byProps("marginTop20")); export let FluxDispatcher: Other.FluxDispatcher; export let React: typeof import("react"); -- cgit