First of all, It's weird ts-transformer-properties-rename doesn't include d.ts for types.
Then I replace transform with the new one. Now I have to pass some entrySourceFiles (with ts-transformer-minify-privates I don't).
Ok, I try to pass the same entry file as I pass to webpack entry:
@timocov I've tried to use https://github.com/timocov/ts-transformer-properties-rename but couldn't make it work.
How I use
ts-transformer-minify-privates
in webpack ts-loader:import:
use in ts-loader rule:
How I try to use
ts-transformer-properties-rename
:First of all, It's weird
ts-transformer-properties-rename
doesn't included.ts
for types. Then I replace transform with the new one. Now I have to pass someentrySourceFiles
(withts-transformer-minify-privates
I don't). Ok, I try to pass the same entry file as I pass to webpack entry:And get an error:
Error: Cannot find source file /Users/dfilatov/prjs/arcadia/maps/front/services/nmaps/src/client/pages/app-page/nk-app-page.ts
But file
/Users/dfilatov/prjs/arcadia/maps/front/services/nmaps/src/client/pages/app-page/nk-app-page.ts
actually exists:Have no idea how to make it work. Please help.
Originally posted by @dfilatov in https://github.com/timocov/ts-transformer-minify-privates/issues/25#issuecomment-1512790285