ui.frontend: Why are clientlib-dependencies and clientlib-sites ignored?

JonMaguire

25-08-2020

When using the ui.frontend project, why are clientlib-dependencies and clientlib-sites ignored in Git. Don't these folders and the code within them need to be part of version control?  

Accepted Solutions (1)

Accepted Solutions (1)

Nikhil-Kumar

MVP

25-08-2020

@JonMaguire 

As per my understanding these clientlibs are created when code is built and deployed and it's content mostly varies on build.
It's something like Node Modules in react which is never committed in GIT and is a part of build of build process.

So, if this is the case I think there is any need to commit it as part of the code in Git.


Thanks,
Nikhil

Answers (1)

Answers (1)

Nikhil-Kumar

MVP

25-08-2020

@JonMaguire 

Refer the below link of latest archetype where the clientlibs clientlib-dependencies and clientlib-site inside ui.frontend.general in clientlib.config.js file.
If you don't have ui.frontend.general then look inside ui.frontend.

https://github.com/adobe/aem-project-archetype/blob/master/src/main/archetype/ui.frontend.general/cl...

I am not sure we can customize it's functionality or not.

Hope this helps!!


Thanks,
Nikhil