rspack icon indicating copy to clipboard operation
rspack copied to clipboard

[Feature]: get original `resoucePath` without `resolve.symlinks: false` in loader

Open JounQin opened this issue 6 months ago • 0 comments

What problem does this feature solve?

this.resoucePath default resolves following symlinks, if we want the original resoucePath, we have to specific resolve.symlinks: false which affect all resolutions, for example dependencies installed with pnpm, see https://github.com/web-infra-dev/rspress/pull/2052#issuecomment-2795810519 for more details.

What does the proposed API of configuration look like?

So I think we need a this.originalResourcePath without following symlinks in this case.

JounQin avatar Apr 11 '25 07:04 JounQin