Skip to content

Commit c164730

Browse files
committed
Add Kendo; fix Office
1 parent 125c012 commit c164730

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/server/editorServices.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,15 @@ namespace ts.server {
7272
"exclude": [["^", 1, "/.*"]], // ..then exclude all files under the winjs folder
7373
"types": ["winjs"] // And fetch the @types package for WinJS
7474
},
75-
"Office Nuget": {
75+
"Kendo": {
76+
"match": /^(.*\/kendo\/.+\.js$/gi,
77+
"exclude": [["^", 1, "/.*"]]
78+
},
79+
"Office Loc Files": {
80+
"match": /^(.*\/office\/1\/\w\w-\w\w\/).+\.js$/gi, // Office NuGet package is installed under a "office/1" folder
81+
"exclude": [["^", 1, "/.*"]] // Exclude that whole folder if the file indicated above is found in it
82+
},
83+
"Office Nuget": { // TODO this one
7684
"match": /^(.*\/1\/office)\/excel\.debug\.js$/gi, // Office NuGet package is installed under a "1/office" folder
7785
"exclude": [["^", 1, "/.*"]], // Exclude that whole folder if the file indicated above is found in it
7886
"types": ["office"] // @types package to fetch instead

0 commit comments

Comments
 (0)