Improve @babel/runtime esm stability (#12883)
This commit is contained in:
10
test/runtime-integration/src/import-auto.mjs
Normal file
10
test/runtime-integration/src/import-auto.mjs
Normal file
@@ -0,0 +1,10 @@
|
||||
import inheritsLoose from "@babel/runtime/helpers/inheritsLoose";
|
||||
|
||||
console.log("================== import - auto ====================");
|
||||
console.log("typeof inheritsLoose:", typeof inheritsLoose);
|
||||
|
||||
function A() {}
|
||||
function B() {}
|
||||
inheritsLoose(A, B);
|
||||
|
||||
console.log("A.__proto__ === B", A.__proto__ === B);
|
||||
Reference in New Issue
Block a user