Skip to content

Commit 66f13d4

Browse files
committed
chore: update
1 parent 3e183ea commit 66f13d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/runtime/initialChunkRetry.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function retry(rules: NormalizedRuntimeRetryOptions[], e: Event) {
166166
// If the requested failed chunk is async chunk,skip it, because async chunk will be retried by asyncChunkRetry runtime
167167
if (
168168
typeof window !== 'undefined' &&
169-
Object.keys(window.__RB_ASYNC_CHUNKS__ || {}).some(chunkName => {
169+
Object.keys(window.__RB_ASYNC_CHUNKS__ || {}).some((chunkName) => {
170170
return url.indexOf(chunkName) !== -1;
171171
})
172172
) {
@@ -282,7 +282,7 @@ function registerInitialChunkRetry() {
282282
) {
283283
document.addEventListener(
284284
'error',
285-
e => {
285+
(e) => {
286286
if (e && e.target instanceof Element) {
287287
try {
288288
retry(config, e);
@@ -295,7 +295,7 @@ function registerInitialChunkRetry() {
295295
);
296296
document.addEventListener(
297297
'load',
298-
e => {
298+
(e) => {
299299
if (e && e.target instanceof Element) {
300300
try {
301301
load(config, e);

0 commit comments

Comments
 (0)