'prefer-tsconfig' | 'prefer-alias'
'prefer-tsconfig'
source.aliasStrategy
is used to control the priority between the paths
option in tsconfig.json
and the alias
option in the bundler.
The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to Rsbuild - source.aliasStrategy.