Open jrson83 opened 5 days ago
I have tried to implement realPath conditionally where it is used.
realPath
However, I realized that it is ultimately up to rollup-plugin-dts, which uses ts.sys but does not implement realpathSync, to fix the problem.
rollup-plugin-dts
ts.sys
realpathSync
So we should set preserveSymlinks: false as default.
preserveSymlinks: false
I have written a test which mimics pnpm symlinks and fails without preserveSymlinks: false.
Closes #69
@privatenumber anything holding back?
I have tried to implement
realPath
conditionally where it is used.However, I realized that it is ultimately up to
rollup-plugin-dts
, which usests.sys
but does not implementrealpathSync
, to fix the problem.So we should set
preserveSymlinks: false
as default.I have written a test which mimics pnpm symlinks and fails without
preserveSymlinks: false
.Closes #69