refactor: remove extra condition (#261)

pull/264/head
meteorlxy 4 years ago committed by GitHub
parent 8d915245c6
commit cee0b400d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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(

Loading…
Cancel
Save