I am not sure this is the right place to ask this question. I will demonstrate with the example below
# demo.ts
export interface Demo {
[key: string]: string
}
....
# index.ts
import { Demo } from './demo'
const demo: Demo = { "hello": "ts-loader" };
in my ts-loader config, if I don't enable transpileOnly, demo.ts file will be included in webpack fileDependencies (I assume it is from this part https://github.com/TypeStrong/ts-loader/blob/master/src/index.ts#L302), but if I enable transpileOnly, demo.ts won't be include in my webpack fileDependencies
I wonder is there an way that I can enable transpileOnly and demo.ts is still in webpack fileDependencies?