Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
SoonIter committed Jan 2, 2025
1 parent 91a0ae0 commit 3084c96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/plugin-assets-retry/src/runtime/asyncChunkRetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ function ensureChunk(chunkId: string): Promise<unknown> {

// if __webpack_require__.e is polluted by other runtime codes, fallback to originalEnsureChunk
if (
typeof callingCounter?.count !== 'number' ||
!callingCounter ||
typeof callingCounter.count !== 'number' ||
typeof callingCounter.cssFailedCount !== 'number'
) {
return result;
Expand Down

0 comments on commit 3084c96

Please sign in to comment.