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

Cannot detect import type and ts types file #64

Open
koeika opened this issue Nov 16, 2023 · 1 comment
Open

Cannot detect import type and ts types file #64

koeika opened this issue Nov 16, 2023 · 1 comment

Comments

@koeika
Copy link

koeika commented Nov 16, 2023

import type {abc} from 'types/Edit.ts'
Edit.ts still in used, but output as unusedFiles.

@koeika
Copy link
Author

koeika commented Nov 16, 2023

plugin used afteremit hook, while ts type interface files and import type will be deleted during webpack compiler.
Can we do sth to preserve these ts type files, and delete them after detecting unusedFiles?

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