You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// renaming.js
import {x, setX} from '/root/renaming_dep.js';
var tempX = x;
setX(10);
var result = tempX + x;
//renaming_dep.js
export var x = 5;
export function setX(y) {
x = y;
}
The standard bundler does not provide the correct output of 15 for the value of result in renaming.js, as expected by the spec, or other implementations.
Module piercing does not have this issue.
The text was updated successfully, but these errors were encountered:
Given the modules:
The standard bundler does not provide the correct output of 15 for the value of
result
inrenaming.js
, as expected by the spec, or other implementations.Module piercing does not have this issue.
The text was updated successfully, but these errors were encountered: