yarn for frontend | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Peter_Puzanovs

Hi Fionas,

 

You're welcome to use anything for your own build. As long as you can pack it into a clientlib you should be fine.

 

The problem comes that most OOTB codebase, Core Components, Archetype and the rest of AEM systems do not rely on Yarn, instead it's all npm based.


Regards,

Peter

1 reply

Peter_Puzanovs
Community Advisor
Peter_PuzanovsCommunity AdvisorAccepted solution
Community Advisor
March 28, 2023

Hi Fionas,

 

You're welcome to use anything for your own build. As long as you can pack it into a clientlib you should be fine.

 

The problem comes that most OOTB codebase, Core Components, Archetype and the rest of AEM systems do not rely on Yarn, instead it's all npm based.


Regards,

Peter

Level 6
March 28, 2023

Thanks Peter, I'll try making a second ui.frontend module with yarn in it and see how far I get. I'll leave the existing ui.frontend which does our sass unchanged. Do you know of any available examples of creating clientlibs with yarn? thanks Fiona