build: simplify package.jsons for all of our packages (#36944)

We can remove all of the entry point resolution configuration from the package.json
in our source code as ng_package rule adds the properties automatically and correctly
configures them.

This change simplifies our code base but doesn't have any impact on the package.json
in the distributed npm_packages.

PR Close #36944
This commit is contained in:
Igor Minar
2020-05-05 21:56:17 -07:00
committed by Alex Rickabaugh
parent 9dbb30f884
commit d578ab8f3c
34 changed files with 15 additions and 287 deletions

View File

@ -1,13 +1,5 @@
{
"name": "@angular/core",
"version": "0.0.0-FAKE-FOR-TESTS",
"description": "Fake version of core for ngtsc tests",
"main": "./bundles/fake_core.umd.js",
"module": "./fesm5/fake_core.js",
"es2015": "./fesm2015/fake_core.js",
"esm5": "./esm5/index.js",
"esm2015": "./esm2015/index.js",
"fesm5": "./fesm5/fake_core.js",
"fesm2015": "./fesm2015/fake_core.js",
"typings": "./index.d.ts"
}
"description": "Fake version of core for ngtsc tests"
}