Skip to content

How to use an external lib that uses StyleX? #343

Answered by necolas
olivierpascal asked this question in Q&A
Discussion options

You must be logged in to vote

The lib shouldn't be compiling styles before publish. When you bundle the components in your project and any components from dependencies using StyleX, that is when StyleX should be used to compile all styles and a bundler can extract them to a CSS file

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@olivierpascal
Comment options

@necolas
Comment options

necolas Jan 12, 2024
Collaborator

@olivierpascal
Comment options

@olivierpascal
Comment options

@nmn
Comment options

nmn Jan 12, 2024
Collaborator

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