[x] Bug Report
[ ] Feature Request
package.json in output is compressed
use the ng-packaged and install the latest ng-packagr to perform packaging.
no compressed for package.json
ng-packagr: v1.5.0
node: v8.9
@angular: v5.0.0
Hi @e-cloud,
what do you mean by compressed? There is no whitespace and line breaks?
@dherges, yes.
It's often helpful to inspect this output, and the size savings from having it in a single line with no white space is very minor. I think it is an excellent idea to emit this in a pretty printed form.
I further suggest something like:
https://github.com/substack/json-stable-stringify
So that there are not needless changes to the output from one run to another, from one machine to another. These new this changes will happen if using the built-in JSON.stringify.
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
_This action has been performed automatically by a bot._
Most helpful comment
It's often helpful to inspect this output, and the size savings from having it in a single line with no white space is very minor. I think it is an excellent idea to emit this in a pretty printed form.
I further suggest something like:
https://github.com/substack/json-stable-stringify
So that there are not needless changes to the output from one run to another, from one machine to another. These new this changes will happen if using the built-in JSON.stringify.