Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 117d142

Browse files
committedJun 16, 2020
fix(@schematics/angular): add links to generated app package.json files
We now add a link to generated app package.json to make is easier for users to find relevant information. (cherry picked from commit 1b06562)
1 parent b6b0718 commit 117d142

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"name": "<%= utils.dasherize(name) %>",
33
"private": true,
4-
"description": "This is a special package.json file that is not used by package managers. It is however used to tell the tools and bundlers whether the code under this directory is free of code with non-local side-effect. Any code that does have non-local side-effects can't be well optimized (tree-shaken) and will result in unnecessary increased payload size. It should be safe to set this option to 'false' for new applications, but existing code bases could be broken when built with the production config if the application code does contain non-local side-effects that the application depends on.",
4+
"description_1": "This is a special package.json file that is not used by package managers.",
5+
"description_2": "It is used to tell the tools and bundlers whether the code under this directory is free of code with non-local side-effect. Any code that does have non-local side-effects can't be well optimized (tree-shaken) and will result in unnecessary increased payload size.",
6+
"description_3": "It should be safe to set this option to 'false' for new applications, but existing code bases could be broken when built with the production config if the application code does contain non-local side-effects that the application depends on.",
7+
"description_4": "To learn more about this file see: https://angular.io/config/app-package-json.",
58
"sideEffects": <%= !strict %>
69
}

0 commit comments

Comments
 (0)
Please sign in to comment.