Skip to main content
Participant
May 25, 2022
Answered

After Jquery upgrade using minification the site is breaking in AEM

  • May 25, 2022
  • 3 replies
  • 299 views

We are using AEM 6.1, jQuery 1.12.4 version. There is a requirement to upgrade jQuery to 3.5 + and followed https://jquery.com/upgrade-guide/3.0/fti

So when tried upgrading to jquery-3.6.0.min.js version without minification in Adobe Granite HTML library the site is working fine. But when minification is turned on the site is breaking and i found out the error we are getting in jQuery minification file i.e.,

This topic has been closed for replies.
Correct answer John T Smith

Not supported here, you need to go to https://experienceleaguecommunities.adobe.com/

3 replies

Nancy OShea
Community Expert
Community Expert
May 26, 2022

Use the un-compressed jQuery library.

 

<script   src="https://code.jquery.com/jquery-3.6.0.js"   integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk="   crossorigin="anonymous"></script>

 

Nancy O'Shea— Product User & Community Expert
John T Smith
Community Expert
John T SmithCommunity ExpertCorrect answer
Community Expert
May 25, 2022

Not supported here, you need to go to https://experienceleaguecommunities.adobe.com/

kglad
Community Expert
Community Expert
May 25, 2022

do you have a team or enterprise subscription?