Skip to content

Commit 80ee809

Browse files
Haroenvgregberge
authored andcommitted
fix: support IE 11 without polyfill (#416)
Fixes #397
1 parent 0aa67b7 commit 80ee809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/component/src/loadableReady.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default function loadableReady(
4141
function checkReadyState() {
4242
if (
4343
requiredChunks.every(chunk =>
44-
loadedChunks.some(([chunks]) => chunks.includes(chunk)),
44+
loadedChunks.some(([chunks]) => chunks.indexOf(chunk) > -1),
4545
)
4646
) {
4747
if (!resolved) {

0 commit comments

Comments
 (0)