diff --git a/scripts/fixup.cjs b/scripts/fixup.cjs index 5f5207b..baa16e5 100644 --- a/scripts/fixup.cjs +++ b/scripts/fixup.cjs @@ -45,7 +45,7 @@ async function fixupImportFileExtensions() { const path = resolve(mjsDistFolder, entry.name); if (entry.isDirectory()) { recursiveReadDir(path); - } else if (path.endsWith('.js')) { + } else if (path.endsWith('.js') || path.endsWith('.d.ts')) { mjsFilePaths.push(path); } }