try removing dts fix

pull/4701/head
Divyansh Singh 5 months ago
parent 78743c7d73
commit 6b44e68dfc

@ -65,13 +65,13 @@ const dtsNode = dts({
tsconfig: 'src/node/tsconfig.json' tsconfig: 'src/node/tsconfig.json'
}) })
const originalResolveId = dtsNode.resolveId // const originalResolveId = dtsNode.resolveId
dtsNode.resolveId = async function (source, importer) { // dtsNode.resolveId = async function (source, importer) {
const res = await (originalResolveId as Function).call(this, source, importer) // const res = await (originalResolveId as Function).call(this, source, importer)
if (res?.id) res.id = await fs.realpath(res.id) // if (res?.id) res.id = await fs.realpath(res.id)
return res // return res
} // }
const nodeTypes: RollupOptions = { const nodeTypes: RollupOptions = {
input: 'src/node/index.ts', input: 'src/node/index.ts',

Loading…
Cancel
Save