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