fix(language-service): non-existent module format in package output (#37623)

The language-service package currently sets the `module` `package.json`
property and refers to a folder called `fesm5`. The language-service
though does not build with `ng_package` so this folder never existed.
Now with APF v10, ng package would not generate this folder either.

We should just remove the property as the primary entry-point is
the UMD bundle resolved through `main`. There is no module flavour
exposed to the NPM package as `pkg_npm` uses the named AMD module
devmode output that doesn't work for `module`.

PR Close #37623
This commit is contained in:
Paul Gschwendtner 2020-06-17 13:18:34 +02:00 committed by Misko Hevery
parent 85abfd2171
commit 413a0fb1ae
1 changed files with 0 additions and 1 deletions

View File

@ -3,7 +3,6 @@
"version": "0.0.0-PLACEHOLDER",
"description": "Angular - language services",
"main": "./bundles/language-service.umd.js",
"module": "./fesm5/language-service.js",
"typings": "./index.d.ts",
"author": "angular",
"license": "MIT",