Minify/clean custom code during build

Avatar

Avatar

adierl

Avatar

adierl

adierl

22-08-2019

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

5 Comments

Avatar

Avatar

jonathanschwarz

Avatar

jonathanschwarz

jonathanschwarz

29-08-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.

Avatar

Avatar

adierl

Avatar

adierl

adierl

29-08-2019

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

Avatar

Avatar

jonathanschwarz

Avatar

jonathanschwarz

jonathanschwarz

29-08-2019

Indeed minifcation of custom code should happen at all.

Avatar

Avatar

A_Wathen

MVP

Avatar

A_Wathen

MVP

A_Wathen
MVP

14-04-2020

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

Avatar

Avatar

jkm-disco

Avatar

jkm-disco

jkm-disco

08-09-2020

+1