Compare commits

..

5 Commits

Author SHA1 Message Date
MrMasrozYTLIVE
165442de72 😭 2024-07-12 23:56:17 +03:00
MrMasrozYTLIVE
85d1797c7f I wanna 😭 rn. I hate JavaScript 2024-07-12 23:15:02 +03:00
MrMasrozYTLIVE
758be94728 I didnt save the import 😭 2024-07-12 23:01:06 +03:00
MrMasrozYTLIVE
31a8fedf2d It actually didnt work so I'm just switching to require() 2024-07-12 22:57:02 +03:00
MrMasrozYTLIVE
ddf4c4910a Quick fix for import() not being available 2024-07-12 22:52:47 +03:00
2 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "linkup-bot-lib", "name": "linkup-bot-lib",
"version": "1.2", "version": "1.2.8",
"main": "lib/Client.js", "main": "lib/Client.js",
"types": "lib/*.ts", "types": "lib/*.ts",
"scripts": { "scripts": {

View File

@ -1,8 +1,7 @@
{ {
"compilerOptions": { "compilerOptions": {
"module": "commonjs", "module": "CommonJS",
"target": "ESNext", "target": "ESNext",
"sourceMap": true,
"declaration": true, "declaration": true,
"declarationDir": "./lib/", "declarationDir": "./lib/",
"outDir": "./lib/", "outDir": "./lib/",
@ -19,5 +18,8 @@
], ],
"exclude": [ "exclude": [
"node_modules", "node_modules",
] ],
"ts-node": {
"esm": true
}
} }