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

False positive with non-default imports #16

Open
bartenra opened this issue Feb 3, 2022 · 2 comments
Open

False positive with non-default imports #16

bartenra opened this issue Feb 3, 2022 · 2 comments

Comments

@bartenra
Copy link

bartenra commented Feb 3, 2022

We sometimes import non-default imports along default import (the Vue component).

import ContentItemSlideOver, { ContentInput } from '@/views/contentpool/slideOver/ContentItemSlideOver.vue';

In this case, ContentItemSlideOver.vue will be reported as unused.

@crobison
Copy link

Along the same line, this is also a false positive:
component: () => import( /* webpackChunkName: "event_create" */ "../views/EventCreate.vue" ) },

Great tool. It's been very helpful!

@BerniWittmann
Copy link
Owner

Thanks for the findings, will try to fix those issues as soon as i get around to it :)

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

3 participants