Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clientlib dependencies #458

Merged
merged 6 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="cq:ClientLibraryFolder"
allowProxy="{Boolean}true"
categories="[wknd.dependencies]"
embed="[granite.csrf.standalone]"/>
embed="[granite.csrf.standalone]"
cssProcessor="[default:none,min:none]"
jsProcessor="[default:none,min:none]"
allowProxy="{Boolean}true"/>

This file was deleted.

This file was deleted.

11 changes: 11 additions & 0 deletions ui.frontend/clientlib.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Loading