fix(language-service): expose package.json for vscode extension resolution (#48678)

The VSCode extension looks for `@angular/language-service/package.json`
using `require`. This currently breaks as of the ESM changes because
we introduced the `exports` field but did not expose the `package.json`.

This commit fixes it.

Co-authored-By: Andrew Scott <atscott@google.com>
Co-authored-By: Dylan Hunn <dylhunn@gmail.com>

PR Close #48678
This commit is contained in:
Paul Gschwendtner
2023-01-10 14:04:24 +00:00
committed by Alex Rickabaugh
parent 7243ae64a6
commit 489243bbb8
+3
View File
@@ -14,6 +14,9 @@
"types": "./index.d.ts",
"default": "./index.js"
},
"./package.json": {
"default": "./package.json"
},
"./api": {
"types": "./api.d.ts",
"default": "./api_bundle.js"