Browse Source

Pass iife-strong-dependencies

gh-109
Oskar Segersvärd 10 years ago
parent
commit
be12487631
  1. 5
      src/Module.js

5
src/Module.js

@ -323,6 +323,11 @@ export default class Module {
});
});
// `Bundle.sort` gets stuck in an infinite loop if a module has
// `strongDependencies` to itself. Make sure it doesn't happen.
delete strongDependencies[ this.id ];
delete weakDependencies[ this.id ];
return { strongDependencies, weakDependencies };
}

Loading…
Cancel
Save