From 165442de727ea6040e82bab14be3d8800cbf38bb Mon Sep 17 00:00:00 2001 From: MrMasrozYTLIVE <61359286+MrMasrozYTLIVE@users.noreply.github.com> Date: Fri, 12 Jul 2024 23:56:17 +0300 Subject: [PATCH] :sob: --- package.json | 2 +- tsconfig.json | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 1cc9148..71a7ab2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "linkup-bot-lib", - "version": "1.2.3", + "version": "1.2.8", "main": "lib/Client.js", "types": "lib/*.ts", "scripts": { diff --git a/tsconfig.json b/tsconfig.json index d4d619e..b38f304 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { - "module": "commonjs", - "target": "ES6", + "module": "CommonJS", + "target": "ESNext", "declaration": true, "declarationDir": "./lib/", "outDir": "./lib/", @@ -18,5 +18,8 @@ ], "exclude": [ "node_modules", - ] + ], + "ts-node": { + "esm": true + } } \ No newline at end of file