shrub/pkg/npm/http-api/setupEnv.js
2021-07-12 12:07:19 +10:00

9 lines
257 B
JavaScript

require('event-target-polyfill');
require('yet-another-abortcontroller-polyfill');
require('cross-fetch/polyfill');
require('fast-text-encoding');
require('web-streams-polyfill');
global.ReadableStream = require('web-streams-polyfill').ReadableStream;