We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Instead of bailing out on code like this:
// root.js require('./lib').a.b // lib.js exports.a = require('./a'); // a.js exports.b = 1;
We should recognize recursive pattern and store uses in a.js.
a.js
The text was updated successfully, but these errors were encountered:
indutny/common-shake@b0d9ea2
It is supported as of [email protected].
[email protected]
Sorry, something went wrong.
Oh, actually the thing that it supported is more limited:
// a exports.a = require('./b').b; // b exports.b = 1;
If exports.a is unused - exports.b will be removed too.
exports.a
exports.b
Recognizing recursive pattern as in the issue description is harder, will keep this issue just in case.
No branches or pull requests
Instead of bailing out on code like this:
We should recognize recursive pattern and store uses in
a.js
.The text was updated successfully, but these errors were encountered: