mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-12-28 17:44:54 -05:00
Why?
This commit is contained in:
parent
fa0f3a8575
commit
ad5de51320
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue