PDA

View Full Version : SA 4.2.2.282 Testing Build Question



rcmartin
2 Aug 2017, 4:07 AM
After upgrading to this latest version, I am noticing the following ClosureCompressor message in the tool's Cmd Output panel during a Testing build for an Ext JS 6.0.2 app:

[INF] Loading compiler context
[INF] Loading app json manifest...
[INF] Processing data with ClosureCompressor


As a result, the resulting app.js file no longer contains the expected source comments.

Thanks for any insight into what might be causing this behavior, and how this processing can be controlled... since I am assuming that source comments are still intended to be included in Testing builds :D

Bob Martin

petr.vecera
2 Aug 2017, 5:05 AM
Hi

This is all directed by Sencha Cmd used by SA. So SA can't do anything about that. I am not sure what exactly is needed to disable the remove of the comments.

I would probably try something like this https://stackoverflow.com/questions/35362603/sencha-cmd-disable-compressor

http://docs.sencha.com/cmd/6.5.1/guides/advanced_cmd/cmd_compiler_reference.html#advanced_cmd-_-cmd_compiler_reference_-_generating_output_with__concat_

You should be able to edit the app.json in any way you need.

Regards
Petr