From 413a0fb1ae66dd1673f721f2ca0645a47b28380e Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Wed, 17 Jun 2020 13:18:34 +0200 Subject: [PATCH] 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 --- packages/language-service/package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/language-service/package.json b/packages/language-service/package.json index cd4ecf43bb..e8a25ad500 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -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",