Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standard Bundler is unable to handle circular dependencies properly. #38

Open
Protryon opened this issue Oct 25, 2018 · 0 comments
Open

Comments

@Protryon
Copy link
Contributor

Given the modules:

// circular1.js
import circ2 from '/root/circular1_dep.js';
export var exportedResult = circ2 + 5;
var result = exportedResult;

//circular1_dep.js
export default 7;
import {exportedResult as circ1} from '/root/circular1.js';

The standard bundler does not provide the correct output of 12 for the value of result, as expected by the spec, or other implementations.

Module piercing does not have this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant