From 558863056e96c1742a8ba69b4218f810cda0f785 Mon Sep 17 00:00:00 2001 From: Philip Peterson <1326208+philip-peterson@users.noreply.github.com> Date: Sun, 14 Jun 2026 00:08:08 -0700 Subject: [PATCH] wip --- .gitignore | 2 ++ jsconfig.json | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 jsconfig.json diff --git a/.gitignore b/.gitignore index 9cc6e85..6da9605 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ web/sites/default/files/* # Never commit real credentials .env + +node_modules/ diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..0dde532 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "checkJs": true, + "paths": { + "https://esm.sh/preact@10": ["./node_modules/preact/src/index.d.ts"], + "https://esm.sh/preact@10/hooks": ["./node_modules/preact/hooks/src/index.d.ts"], + "https://esm.sh/htm@3/preact": ["./node_modules/htm/preact/index.d.ts"] + } + }, + "include": [ + "web/modules/custom/riverside_pt/js/**/*.js", + "web/modules/custom/riverside_pt/js/globals.d.ts" + ] +}