From b7e46a09424339e0404624e4d7f9910e2a9e19b9 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Sat, 19 Apr 2025 15:26:33 +0530 Subject: [PATCH] nope --- rollup.config.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rollup.config.ts b/rollup.config.ts index c4e930ab..6bf7ff1b 100644 --- a/rollup.config.ts +++ b/rollup.config.ts @@ -65,13 +65,13 @@ const dtsNode = dts({ tsconfig: 'src/node/tsconfig.json' }) -// const originalResolveId = dtsNode.resolveId +const originalResolveId = dtsNode.resolveId -// dtsNode.resolveId = async function (source, importer) { -// const res = await (originalResolveId as Function).call(this, source, importer) -// if (res?.id) res.id = await fs.realpath(res.id) -// return res -// } +dtsNode.resolveId = async function (source, importer) { + const res = await (originalResolveId as Function).call(this, source, importer) + if (res?.id) res.id = await fs.realpath(res.id) + return res +} const nodeTypes: RollupOptions = { input: 'src/node/index.ts',