Export update

This commit is contained in:
Sebastian Seedorf
2020-11-16 16:20:03 +01:00
parent 51c80b7be5
commit f9ee76e42b
5 changed files with 14 additions and 9 deletions

View File

@@ -37,8 +37,8 @@ function getRouter(fileToWatch: string, opts?: Partial<PolyfillOptions>): Reques
const options: Partial<PolyfillOptions> = {
minify: DefaultConfig.isProduction,
unknown: "polyfill",
...opts
}
...opts,
};
return async (req, res) => {
const polyfillBundle = await polyfillLibrary.getPolyfillString({
...options,