From 87c4bdcd1d560ab075ea1db5f08c27f4df9c774d Mon Sep 17 00:00:00 2001 From: arnold Date: Wed, 5 Jul 2023 11:03:12 -0400 Subject: [PATCH] Export as commonjs module --- tsconfig.json | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index e59c892..942b3da 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,14 +1,15 @@ { - "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "alwaysStrict": true, + "baseUrl": "", "lib": ["es2019", "es6", "dom"], + "module": "commonjs", + "sourceMap": true, "declaration": true, - "outDir": "lib", - "rootDir": "./src/", "target": "es6", - "sourceMap": true, - "newLine": "lf" + "paths": {}, + "rootDir": "src", + "outDir": "lib" }, - "exclude": ["test", "lib"] + "include": ["src"] }