Skip to content

Commit

Permalink
refactor: remove extra condition (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy authored Mar 18, 2021
1 parent 8d91524 commit cee0b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/build/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit cee0b40

Please sign in to comment.