13 Feb 2014 4:29 AM #1
Strip whitespace and comments with Sencha Cmd 4.x
I used to strip whitespace and comments from my all-classes.js with Sencha Cmd 3.x by adding the property build.compression.strip=1 to my production.properties config. The flag is active, as I was told by "sencha ant .props":
[INF] [echoproperties] build.compression=
[INF] [echoproperties] build.compression.closure=0
[INF] [echoproperties] build.compression.strip=1
[INF] [echoproperties] build.compression.ugilfy=0
[INF] [echoproperties] build.compression.yui=0
Then I migrated to Sencha Cmd 4.0 and now this flag does not work anymore.
Does anyone know how to strip whitespace and comments with Sencha Cmd 4.x?
13 Feb 2014 6:36 PM #2
Check out the following post. I hope it helps.
18 Feb 2014 2:27 AM #3
Yes, it did, thank you, I now use the x-strip-js ant task as an after-page build step