This commit is contained in:
Kir_Antipov 2023-05-19 21:37:31 +03:00
parent fa0f3a8575
commit ad5de51320

View file

@ -97,3 +97,9 @@ function toFormDataEntry(value: unknown): [string | Blob, string?] {
return [JSON.stringify(value)]; 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);
}