Incorrect Declaration Map Source #135
Labels
kind: bug
Something isn't working
scope: upstream
Issue in upstream dependency
solution: duplicate
This issue or pull request already exists
topic: rollup-plugin-typescript2
Issues and PRs relating to rpts2
Current Behavior
I am currently using
tsdx
to run the core package within my monorepo. When I import something from the core package and click through in my editor I end up in the declaration file - not the source file as I would expect.Source file (
packages/core/src/
):Declaration file (
packages/core/dist/config/colors.d.ts.map
):Expected behavior
When I click-through on a variable imported from a
tsdx
package, I am taken to the source file - rather than the definition file.Declaration file (
packages/core/dist/config/colors.d.ts.map
):Suggested solution(s)
I have this working using the following rollup config, not sure how well this transfers to tsdx:
Your environment
The text was updated successfully, but these errors were encountered: