mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Alex Rickabaugh
parent
7243ae64a6
commit
489243bbb8
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user