Skip to content

How to export jsx styled in a github package #2601

Answered by astahmer
ImJustLucas asked this question in Q&A
Discussion options

You must be logged in to vote

the main issue was that you have a barrel file (index.ts that re-exports stuff) in your preset that includes both your components AND the preset
so when the panda.config was resolved and saw the preset import, it also was trying to bundle the whole components directory (including the styled-system)

made a PR that fixes this and other stuff here qotum/qotum#1

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ImJustLucas
Comment options

You must be logged in to vote
1 reply
@ImJustLucas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants