[ci] yarn format
This commit is contained in:
parent
44fb8ebcc4
commit
749617b2fb
1 changed files with 3 additions and 1 deletions
|
@ -138,7 +138,9 @@ export class ConfigManager {
|
||||||
async buildSource(contents: string): Promise<string> {
|
async buildSource(contents: string): Promise<string> {
|
||||||
const renderers = await this.buildRendererInstances();
|
const renderers = await this.buildRendererInstances();
|
||||||
const rendererServerPackages = renderers.map(({ server }) => server);
|
const rendererServerPackages = renderers.map(({ server }) => server);
|
||||||
const rendererClientPackages = await Promise.all(renderers.filter((instance): instance is RendererInstance & { client: string } => !!instance.client).map(({ client }) => this.resolvePackageUrl(client)));
|
const rendererClientPackages = await Promise.all(
|
||||||
|
renderers.filter((instance): instance is RendererInstance & { client: string } => !!instance.client).map(({ client }) => this.resolvePackageUrl(client))
|
||||||
|
);
|
||||||
const rendererPolyfills = await Promise.all(renderers.map(({ polyfills }) => Promise.all(polyfills.map((src) => this.resolvePackageUrl(src)))));
|
const rendererPolyfills = await Promise.all(renderers.map(({ polyfills }) => Promise.all(polyfills.map((src) => this.resolvePackageUrl(src)))));
|
||||||
const rendererHydrationPolyfills = await Promise.all(renderers.map(({ hydrationPolyfills }) => Promise.all(hydrationPolyfills.map((src) => this.resolvePackageUrl(src)))));
|
const rendererHydrationPolyfills = await Promise.all(renderers.map(({ hydrationPolyfills }) => Promise.all(hydrationPolyfills.map((src) => this.resolvePackageUrl(src)))));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue