Skip to content

Commit 6a8ea29

Browse files
devversionalxhub
authored andcommitted
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 <[email protected]> Co-authored-By: Dylan Hunn <[email protected]> PR Close #48678
1 parent caf7228 commit 6a8ea29

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/language-service/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
"types": "./index.d.ts",
1515
"default": "./index.js"
1616
},
17+
"./package.json": {
18+
"default": "./package.json"
19+
},
1720
"./api": {
1821
"types": "./api.d.ts",
1922
"default": "./api_bundle.js"

0 commit comments

Comments
 (0)