minifying JS and CSS in 6.2 causing errors | Community
Skip to main content
jackie_chan_
Level 2
May 23, 2017
Solved

minifying JS and CSS in 6.2 causing errors

  • May 23, 2017
  • 11 replies
  • 13988 views

Hi folks,

Hoping someone can help me with this task.  As you can see by the title, I'm trying to minify the JS for our site and all of it's associated components in AEM 6.2.

We are using angular 1.5.5 across the site and components, and when I go to the AEM Web Console Configuration > Adobe Granite HTML Library Manager and check the Minify option, when we hit the site, I'm seeing issues in my JS console:

Could someone point me in the right direction of how to minify the site.js that's generated?

Thanks!

Jackie

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

11 replies

Level 2
June 20, 2018

Hi,

I am working on AEM 6.3. With the minify using min:gcc, I am able to see minified js, but not the css.

The file is renamed as .min.css, but the css is not minified.

Any thoughts?