This commit is contained in:
Sebastian Seedorf
2020-11-16 12:40:47 +01:00
parent 2629d1e8e9
commit 936f93fb5d
12 changed files with 144 additions and 27 deletions

View File

@@ -1,10 +1,19 @@
import {RequestHandler} from 'express';
import * as polyfillLibrary from 'polyfill-library';
import {PolyfillFeatureList, PolyfillOptions} from 'polyfill-library';
import {PolyfillFeatureList} from 'polyfill-library';
import {DefaultConfig, Logger, WaitForSync} from '.';
import {spawn, Thread, Worker} from 'threads';
import {WorkerFunction} from 'threads/dist/types/worker';
export type PolyfillOptions = {
minify: boolean,
unknown: 'polyfill'|'ignore',
features: PolyfillFeatureList,
excludes: string[],
uaString: string,
rum: boolean,
}
const features = new WaitForSync<PolyfillFeatureList>();
(async () => {