Skip to content

Commit

Permalink
Merge pull request #7479 from webpack/fix/5153
Browse files Browse the repository at this point in the history
Ensure static and dynamic imports use the same binding
  • Loading branch information
sokra committed Jun 5, 2018
2 parents b5b1e86 + aa6de57 commit b1a640e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/cases/chunks/issue-5153/index.js
@@ -0,0 +1,7 @@
import x from "./module";

it("should export the same binding", () => {
return import("./module").then(ns => {
expect(x).toBe(ns.default);
});
});
1 change: 1 addition & 0 deletions test/cases/chunks/issue-5153/module.js
@@ -0,0 +1 @@
export default {};

0 comments on commit b1a640e

Please sign in to comment.