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
Based on the breaking change, output must be the same as the declaration directory. However, I believe this check is being over-zealous, disallowing sub-directories within the declaration directory.
After the v12 update, the following error is presented:
@rollup/plugin-typescript: Path of Typescript compiler option 'declarationDir' must be located inside the same directory as the Rollup 'file' option.
We'd be happy to take a look at a Pull Request which resolves this condition, but one which keeps current tests passing.
(Please also note that moving forward, issues without a valid reproduction will be moved to a Q & A discussion. Those aren't optional, and the issue template mentions that a bunch)
Perhaps related to #1772.
Expected Behavior
Nested sub-directories continue to be valid.
Actual Behavior
Based on the breaking change, output must be the same as the declaration directory. However, I believe this check is being over-zealous, disallowing sub-directories within the declaration directory.
After the v12 update, the following error is presented:
Additional Information
The declaration directory in
tsconfig.json
:The rollup config:
If I simplify the output to
lib/config.js
, the error is gone. However, my directory structure is no longer valid.The text was updated successfully, but these errors were encountered: