You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
I'm pretty sure the answer is "no". I think you've already noticed but there's essentially 2 modes of operation for ts-loader. transpileOnly or not. transpileOnly doesn't register file dependencies. I'm not sure if it can anyway because of the exposed API it is using. Do feel free to have a play and report back!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am not sure this is the right place to ask this question. I will demonstrate with the example below
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 enabletranspileOnly
,demo.ts
won't be include in my webpack fileDependenciesI wonder is there an way that I can enable
transpileOnly
anddemo.ts
is still in webpack fileDependencies?The text was updated successfully, but these errors were encountered: