Skip to content

Commit 12f1773

Browse files
devversionatscott
authored andcommitted
fix(language-service): non-existent module format in package output (#37778)
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 #37778
1 parent 5be3236 commit 12f1773

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/language-service/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"version": "0.0.0-PLACEHOLDER",
44
"description": "Angular - language services",
55
"main": "./bundles/language-service.umd.js",
6-
"module": "./fesm5/language-service.js",
76
"typings": "./index.d.ts",
87
"author": "angular",
98
"license": "MIT",

0 commit comments

Comments
 (0)