use custom polyfill for path.join (fix webpack 5 build)

This commit is contained in:
garronej
2021-12-16 20:44:39 +01:00
parent 46bd319ebe
commit 1138313028
4 changed files with 8 additions and 5 deletions

View File

@ -4,7 +4,7 @@ import type { KcProps } from "./KcProps";
import type { KcContextBase } from "../getKcContext/KcContextBase";
import { useKcMessage } from "../i18n/useKcMessage";
import { headInsert } from "../tools/headInsert";
import { join as pathJoin } from "path";
import { pathJoin } from "../tools/pathJoin";
import { useCssAndCx } from "tss-react";
export const LoginOtp = memo(({ kcContext, ...props }: { kcContext: KcContextBase.LoginOtp } & KcProps) => {