diff --git a/src/utils/net/form-data.ts b/src/utils/net/form-data.ts index b26ce31..9ff7bcd 100644 --- a/src/utils/net/form-data.ts +++ b/src/utils/net/form-data.ts @@ -97,3 +97,9 @@ function toFormDataEntry(value: unknown): [string | Blob, string?] { return [JSON.stringify(value)]; } + +// Force this to be included into the final build. +import { MultipartParser } from "node-fetch/src/utils/multipart-parser"; +if (!MultipartParser) { + isFormData(MultipartParser); +}