Support aliased resolving
Currently, Due to the fact that nodejs-resolver does not support resolving with alias, Rspack does not support resolve aliased loader. We should fix this.
Originally posted by @h-a-n-a in https://github.com/web-infra-dev/rspack/pull/4008#discussion_r1301293077
@Boshen can verify whether is resolved?
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
Where are the tests for "resolve aliased loader"? Let's try and turn them on so we can close this issue.
Where are the tests for "resolve aliased loader"? Let's try and turn them on so we can close this issue.
@Boshen try turn on this for oxc resolver https://github.com/web-infra-dev/rspack/pull/4008/files#diff-cd6dcd934ac301a223707a61b3bba520be1c3ee63a00ba24e6cbe8bb79ccf266R6, I think this is used to test agains alias with query case(which is not supported in the old nodejs_resolver), cc @h-a-n-a
@h-a-n-a This PR from webpack indicates that this should be solved on the Rspack side?
https://github.com/webpack/webpack/pull/3445/files#diff-d73b6d4cb18e533b6d82864565571fb5d0b87455a67503db7464eff699bfea1a
So this is about the alias option in the config, right?
It does compile with aliases, but re-compilation on file changes doesn't work if the file path is imported via alias. Is this the correct issue for this problem, and are there any news on this?
So this is about the
aliasoption in the config, right?It does compile with aliases, but re-compilation on file changes doesn't work if the file path is imported via alias. Is this the correct issue for this problem, and are there any news on this?
@Narretz I assume this is a different issue than this one, would you please create another issue?
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
I believe it's still not clear if everything related to Alias Resolving is tested correctly.
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
bump
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
bump