-
-
Notifications
You must be signed in to change notification settings - Fork 57
Description
Version
System:
OS: macOS 15.3
CPU: (11) arm64 Apple M3 Pro
Memory: 98.45 MB / 36.00 GB
Shell: 3.7.1 - /opt/homebrew/bin/fish
Browsers:
Chrome: 133.0.6943.127
Safari: 18.3
npmPackages:
@rslib/core: 0.5.1 => 0.5.1Details
After upgrading to v0.5.1, I noticed that the generated TypeScript declaration files (.d.ts) no longer respect output.distPath.root. In previous versions, the .d.ts files were placed under the configured output.distPath.root, but now they seem to be placed in a different location.
Expected Behavior
The declaration files should be placed under the directory specified in output.distPath.root.
Actual Behavior
The declaration files are generated outside of the expected output.distPath.root location.
Additional Information
This behavior was not observed in v0.5.0. It seems to be a regression introduced in v0.5.1. Could you confirm if this change was intentional or if it is a bug?
Reproduce link
https://codesandbox.io/p/devbox/great-elbakyan-njflsf
Reproduce Steps
- Configure output.distPath.root in the build settings.
- Run the build process.
- Observe that .d.ts files are not placed in the specified root directory.
Metadata
Metadata
Assignees
Labels
No labels