From 320cecf9492d4fb528138aba1ed5138b24a02f23 Mon Sep 17 00:00:00 2001 From: zS1L3NT Mac Date: Fri, 12 Jan 2024 23:55:38 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20cjs=20support=20gone=20iss?= =?UTF-8?q?ue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 6597315..06c2172 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ytmusic-api", - "version": "5.0.1", + "version": "5.0.2", "description": "YouTube Music API", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/tsconfig.json b/tsconfig.json index 1667fbd..1b4777f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,8 +3,8 @@ /** Transpiler */ "target": "esnext", "lib": ["esnext"], - "module": "esnext", - "moduleResolution": "bundler", + "module": "commonjs", + "moduleResolution": "node", "esModuleInterop": true, "allowSyntheticDefaultImports": true,