You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should build properly when the typescript 'declarationDir' is inside the same directory as the output 'file'.
Actual Behavior
Throws error:
[!] (plugin typescript) RollupError: [plugin typescript] @rollup/plugin-typescript: Path of Typescript compiler option 'declarationDir' must be located inside the same directory as the Rollup 'file' option.
Additional Information
Looking at the code, it seems like the last change in this commit to undo a regression broke this: cc55c44
On that it is checking that 'file' is inside 'declarationDir' which is undesired and counter to the error message.
The text was updated successfully, but these errors were encountered:
mallio
changed the title
@rollup/plugin-typescript showing incorrect warning after v12.1.1
@rollup/plugin-typescript showing incorrect error after v12.1.1
Nov 13, 2024
Expected Behavior
Should build properly when the typescript 'declarationDir' is inside the same directory as the output 'file'.
Actual Behavior
Throws error:
Additional Information
Looking at the code, it seems like the last change in this commit to undo a regression broke this: cc55c44
On that it is checking that 'file' is inside 'declarationDir' which is undesired and counter to the error message.
The text was updated successfully, but these errors were encountered: