From ab11074744a82b0d2d6718a58a333168ecddc413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20BECHER?= Date: Thu, 9 May 2024 17:37:23 +0200 Subject: [PATCH] allow building JS files --- .gitignore | 3 ++- tsconfig.json | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 30bc162..8225baa 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -/node_modules \ No newline at end of file +/node_modules +/dist diff --git a/tsconfig.json b/tsconfig.json index 5f32ff9..1e6e284 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,8 @@ "target": "ES2022", "module": "Node16", "moduleResolution": "Node16", + "rootDir": "src", + "outDir": "dist", "alwaysStrict": true, "esModuleInterop": true, "noFallthroughCasesInSwitch": true, @@ -21,4 +23,4 @@ "esm": true, "experimentalSpecifierResolution": "node" } -} \ No newline at end of file +}