Written by The Jahia Team
 
Developers
   Estimated reading time:

Is it possible to split a large definitions.cnd file into multiple files?

Answer

As a best practice, it is recommended to divide large modules into separate smaller modules for easier maintenance and support. However, in some cases, you may have a module with a very large definitions.cnd file.

To improve the readability and management of the file, it is possible to split it into multiple files (e.g. definitions1.cnd, definitions2.cnd, etc) within the same module and Jahia will be able to load all the definitions correctly.

Related links