From 2668f231573dbb329ce329a73757086c74b9a6ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarda=20Kot=C4=9B=C5=A1ovec?= Date: Tue, 21 May 2024 10:43:13 +0200 Subject: [PATCH 1/2] pkp/pkp-lib#9972 Explicitely define folders with javascript to improve VS code performance --- jsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsconfig.json b/jsconfig.json index bf4d74b7cb1..d7a12c4778f 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -2,8 +2,8 @@ "compilerOptions": { "baseUrl": ".", "paths": { - "@/components/*": ["lib/ui-library/src/components/*"] + "@/*": ["lib/ui-library/src/*"] } }, - "exclude": ["node_modules"] + "include": ["lib/ui-library/src/**/*", "lib/pkp/js/**/*.js"] } From cfa135753617be6ee31835bbc4f9e2c1fd7c7c42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarda=20Kot=C4=9B=C5=A1ovec?= Date: Wed, 22 May 2024 14:07:22 +0200 Subject: [PATCH 2/2] pkp/pkp-lib#9972 Add more folders to jsconfig.json --- jsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsconfig.json b/jsconfig.json index d7a12c4778f..697975b85f1 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -5,5 +5,5 @@ "@/*": ["lib/ui-library/src/*"] } }, - "include": ["lib/ui-library/src/**/*", "lib/pkp/js/**/*.js"] + "include": ["lib/ui-library/src/**/*", "lib/pkp/js/**/*.js", "js/controllers/**/*.js", "js/load.js"] }