-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: wrong tsconfig.json#paths output when bundle: false
#407
Comments
Since the request is externalized, it won't follow Rsbuild's default alias behavior(https://rsbuild.dev/guide/advanced/alias). It's better to be aligned. |
Hi @fi3ework. Sorry, I didn't quite understand what you meant. |
|
web-infra-dev/rspack#7348 external function |
Sorry, I cannot keep up with your terminology. Does this mean that when using path aliases and building bundless DTS, the aliases would be replaced with the correct relative paths after web-infra-dev/rspack#7348 is done? |
For bundleless DTS, the alias redirect should be another issue, tracking in #409. You can use tsc-alias currently. |
Version
Details
When using
bundle: false
, the TS path aliases are not being correctly generated in the build.When using
bundle: true
, it generates correctly, but it is not what I want.rslib config
rslib output
build script
rslib build
The text was updated successfully, but these errors were encountered: