Home > @lynx-js/rspeedy > Resolve > aliasStrategy
Resolve.aliasStrategy property
Set the strategy for path alias resolution, to control the priority relationship between the paths option in tsconfig.json and the resolve.alias option of Rsbuild.
Signature:
Default Value
'prefer-tsconfig'
prefer-tsconfig(default): Thepathsoption intsconfig.jsonwill take precedence over theresolve.aliasoption of Rsbuild. -prefer-alias: Theresolve.aliasoption of Rsbuild will take precedence over thepathsoption intsconfig.json.

