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:
parent
85abfd2171
commit
413a0fb1ae
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue