Cannot detect import type and ts types file
koeika opened this issue · 1 comments
koeika commented
import type {abc} from 'types/Edit.ts'
Edit.ts still in used, but output as unusedFiles.
koeika commented
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?