Expand my Community achievements bar.

minify the contexthub js file

Avatar

Level 1

HI All,

I am working on building the datalayer using contexthub to use it through Adobe launch. I am seeing the contexthub.kernel.js is not getting minified in publisher. I didn't find any documentation steps to minify the contexthub.kernel.js file.

Please suggest

3 Replies

Avatar

Level 10

Did you read in Adobe docs that this task was necessary?

Avatar

Level 2

yes smacdonald2008​, i have gone through the adobe docs, nowhere its mentioned about the contexthub minification. But the contexthub.kernel.js file around 600KB. it hits the page performance.. its get minified the size of contexthub.kernel.js will be less.

Avatar

Level 10

I haven't heard of this use case but if you want to minify it then either do it outside AEM and simply dump it in AEM or otherwise use

Adobe Granite HTML Library Manager in /system/console/configMgr