-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[New] no-unused-modules: support dynamic imports [2] #2212
[New] no-unused-modules: support dynamic imports [2] #2212
Conversation
See import-js#1660, import-js#2212. Co-authored-by: Max Komarychev <[email protected]> Co-authored-by: Filipp Riabchun <[email protected]> Co-authored-by: 薛定谔的猫 <[email protected]>
All occurences of `import('...')` are treated as namespace imports (`import * as X from '...'`) See import-js#1660, import-js#2212. Co-authored-by: Max Komarychev <[email protected]> Co-authored-by: Filipp Riabchun <[email protected]> Co-authored-by: 薛定谔的猫 <[email protected]>
e69c056
to
86a87d3
Compare
oof, please don't make new PRs (but please leave this one open, since now I have to keep it in sync with #1660 until both are merged) |
Sorry, the scheme with two branches for one PR apparently didn't work well, at least for me. Tests are passing in my branch, I have no idea what broke them in the original branch |
Probably something that landed in master in the interim, since the branches shouldn't be any different. |
My branch is up-to date with master |
63c3c5a
to
b724db8
Compare
All green now |
Extracted from import-js#2212 / import-js#1660.
329454c
to
3d8cc76
Compare
post rebase, travis-ci is failing, with |
Codecov Report
@@ Coverage Diff @@
## main #2212 +/- ##
==========================================
- Coverage 84.28% 83.16% -1.13%
==========================================
Files 93 93
Lines 2971 2987 +16
Branches 881 879 -2
==========================================
- Hits 2504 2484 -20
- Misses 467 503 +36
Continue to review full report at Codecov.
|
For some reason, I don't see |
hm, you're right, i don't see that either. Maybe |
3d8cc76
to
b0acc6e
Compare
b0acc6e
to
b7bf750
Compare
b7bf750
to
7c382f0
Compare
👍 awesome! thx for fixing this! |
Hey, is it possible to release this? 🙏 |
Replaces #1660