mirror of https://github.com/webpack/webpack.git
Merge pull request #7479 from webpack/fix/5153
Ensure static and dynamic imports use the same binding
This commit is contained in:
commit
b1a640e005
|
|
@ -0,0 +1,7 @@
|
|||
import x from "./module";
|
||||
|
||||
it("should export the same binding", () => {
|
||||
return import("./module").then(ns => {
|
||||
expect(x).toBe(ns.default);
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1 @@
|
|||
export default {};
|
||||
Loading…
Reference in New Issue