Minify/clean custom code during build | Community
Skip to main content
Level 7
August 22, 2019
New

Minify/clean custom code during build

  • August 22, 2019
  • 5 replies
  • 10819 views

Remove comments from custom code during the build process or even minify the custom code.

5 replies

Level 2
August 29, 2019

I would expect that minifcation happens in the background but the interface still shows comments etc. GTM handles it like this. Or even that minification happens with the staging build.

Level 7
August 29, 2019

Minification should happen during all builds, but it's not. Launch just escapes the full HTML incl. comments. Therefor this CR

Level 2
August 29, 2019

Indeed minifcation of custom code should happen at all.

Andrew_Wathen_
Community Advisor
Community Advisor
April 14, 2020

It's frustrating that comments still do not seem to be removed from the library.  Hopefully Adobe will address as some point.

Jacob-DDdev
Level 6
September 8, 2020

+1