-
|
Title may be a bit ambiguous, but I don't know how else I'd explain it. In my component library, I have 2 components: What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Do you have a reproduction of this? Struggling to understand what you mean. |
Beta Was this translation helpful? Give feedback.
-
|
@segunadebayo After almost a year, I (Claude) finally found the issue. In the consuming app, in
But the issue with this is that Panda uses
Which is kinda strange because in the |
Beta Was this translation helpful? Give feedback.
@segunadebayo After almost a year, I (Claude) finally found the issue. In the consuming app, in
panda.config.tsI included the component library like this:include: ['./src/**/*.{ts,tsx}', '@my-lib/design-system/dist/panda.buildinfo.json']But the issue with this is that Panda uses
fast-globunder the hood which doesn't do actual module resolution, but file system resolution and that's why you need to pass relative path, like this:include: ['./src/**/*.{ts,tsx}', './node_modules/@my-lib/design-system/dist/panda.buildinfo.json']Which is kinda strange because in the
presetsfield above, you can reference a module but not in here 🤷