Skip to content

How to use in an external package consumed by other projects? #281

Answered by mattcompiles
mattfelten asked this question in Q&A
Discussion options

You must be logged in to vote

Pre-compiling and compiling in the consuming application could both work but I personally suggest adjusting the consuming applications bundling config if possible. So basically shipping .css.js files in your package to then be compiled into .js/.css in the consuming app. Our design system uses this approach.

Replies: 5 comments 6 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
2 replies
@rtkaaho
Comment options

@christiankaindl
Comment options

Comment options

You must be logged in to vote
4 replies
@mattfelten
Comment options

@rtkaaho
Comment options

@dannyrb
Comment options

@mattcompiles
Comment options

Answer selected by mattfelten
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants
Converted from issue

This discussion was converted from issue #268 on August 10, 2021 22:20.