Declaration files cannot be found when consuming nested input files #207
Labels
help wanted
kind: bug
Something isn't working properly
problem: no repro
No reproduction was provided (and have not tried to repro without one)
problem: removed issue template
OP removed the issue template without good cause
problem: stale
Issue has not been responded to in some time
solution: duplicate
This issue or pull request already exists
solution: workaround available
There is a workaround available for this issue
Hi, my rollup config looks like this:
When consuming my package, importing components with the following syntax works fine:
import { Button } from '@mycomponents'
I have added multiple inputs for people to consume just the component they want. I have noticed that when consuming, this is working for all of my components except the nested ones. (eg all the inputs live in a folder called FormControls)
Works:
import { Button } from '@mycomponents/lib/Button'
Doesn't work:
import { TextInput } from '@mycomponents/lib/TextInput'
Is there a recommended way to do this?
The text was updated successfully, but these errors were encountered: