yarn for frontend | Community
Skip to main content
New Participant
March 28, 2023
Solved

yarn for frontend

  • March 28, 2023
  • 1 reply
  • 1072 views

Hi folks,

Is it possible to use yarn for AEM UI frontend?

 

In this post, the OP seems to be using yarn.  Currently we have webpack but our FE guy wants to change.

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-clear-yarn-npm-cache-or-remove-lock-files/td-p/423249

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
Peter_PuzanovsAccepted solution
New Participant
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

New Participant
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