From cee0b400d95b610fa47ea79007e03221a140084f Mon Sep 17 00:00:00 2001 From: meteorlxy Date: Fri, 19 Mar 2021 01:27:38 +0800 Subject: [PATCH] refactor: remove extra condition (#261) --- src/node/build/build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/build/build.ts b/src/node/build/build.ts index a1f64f7a..29fa53b2 100644 --- a/src/node/build/build.ts +++ b/src/node/build/build.ts @@ -23,7 +23,7 @@ export async function build(root: string, buildOptions: BuildOptions = {}) { try { const appChunk = clientResult.output.find( - (chunk) => chunk.type === 'chunk' && chunk.isEntry && chunk + (chunk) => chunk.type === 'chunk' && chunk.isEntry ) as OutputChunk const cssChunk = clientResult.output.find(