diff --git a/ui.apps/src/main/content/jcr_root/apps/wknd/clientlibs/clientlib-dependencies/.content.xml b/ui.apps/src/main/content/jcr_root/apps/wknd/clientlibs/clientlib-dependencies/.content.xml index a46c93df34..c278a772e4 100644 --- a/ui.apps/src/main/content/jcr_root/apps/wknd/clientlibs/clientlib-dependencies/.content.xml +++ b/ui.apps/src/main/content/jcr_root/apps/wknd/clientlibs/clientlib-dependencies/.content.xml @@ -1,6 +1,8 @@ + embed="[granite.csrf.standalone]" + cssProcessor="[default:none,min:none]" + jsProcessor="[default:none,min:none]" + allowProxy="{Boolean}true"/> diff --git a/ui.apps/src/main/content/jcr_root/apps/wknd/clientlibs/clientlib-dependencies/css.txt b/ui.apps/src/main/content/jcr_root/apps/wknd/clientlibs/clientlib-dependencies/css.txt deleted file mode 100644 index a14dd24d98..0000000000 --- a/ui.apps/src/main/content/jcr_root/apps/wknd/clientlibs/clientlib-dependencies/css.txt +++ /dev/null @@ -1,16 +0,0 @@ -############################################################################### -# Copyright 2017 Adobe Systems Incorporated -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################### - diff --git a/ui.apps/src/main/content/jcr_root/apps/wknd/clientlibs/clientlib-dependencies/js.txt b/ui.apps/src/main/content/jcr_root/apps/wknd/clientlibs/clientlib-dependencies/js.txt deleted file mode 100644 index 2fb53236b4..0000000000 --- a/ui.apps/src/main/content/jcr_root/apps/wknd/clientlibs/clientlib-dependencies/js.txt +++ /dev/null @@ -1,15 +0,0 @@ -############################################################################### -# Copyright 2017 Adobe Systems Incorporated -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -############################################################################### diff --git a/ui.frontend/clientlib.config.js b/ui.frontend/clientlib.config.js index bbd05b4677..ef00ec6e94 100644 --- a/ui.frontend/clientlib.config.js +++ b/ui.frontend/clientlib.config.js @@ -42,6 +42,17 @@ module.exports = { context: BUILD_DIR, clientLibRoot: CLIENTLIB_DIR, libs: [ + /* These embeds and categories can added to clientlib-site below as well */ + { + ...libsBaseConfig, + name: 'clientlib-dependencies', + categories: ['wknd.dependencies'], + // Add AEM OOTB client libraries as needed + embed: ['granite.csrf.standalone'], + assets: { + // Add any CSS and JS entrypoint scripts and stylesheets into the dependencies clientlib + } + }, { ...libsBaseConfig, name: 'clientlib-site',