From 854fb390a1f426ba9c1af2f90d2fe0e03c1b9ff3 Mon Sep 17 00:00:00 2001 From: johanruttens Date: Wed, 13 May 2020 19:27:02 +0200 Subject: [PATCH] allow 'replaces' and 'disableIfReplacing' as a property of clientLibDirectoryFields (#29) closes #28 * allow 'replaces' as a property of clientLibDirectoryFields * added disableIfReplacing as an allowed property Co-authored-by: Johan Ruttens --- lib/clientlib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/clientlib.js b/lib/clientlib.js index 5dcf766..1255069 100644 --- a/lib/clientlib.js +++ b/lib/clientlib.js @@ -49,7 +49,7 @@ var SERIALIZATION_FORMAT_SLING_XML = "slingxml"; * List of fields to be evaluated for being added to the {@code cq:ClientLibraryFolder} file descriptor * @type {String[]} */ -var clientLibDirectoryFields = ["embed", "dependencies", "cssProcessor", "jsProcessor", "allowProxy", "longCacheKey"]; +var clientLibDirectoryFields = ["embed", "dependencies", "cssProcessor", "jsProcessor", "allowProxy", "longCacheKey","replaces","disableIfReplacing"]; /** * List of source file extensions which AEM is able to merge and provide as `.js` or `.css` client-side library