The types is interpreted as ESM when resolving with the "require" condition. This causes the types to only work when dynamically importing the package, even though the package exports CJS. Consider splitting out two "types" conditions for "import" and "require", and use the .cts extension, e.g. pkg.exports["."].require.types: "./dist/types/index.d.cts" (More info)
We're getting the following issue from publint
See https://publint.dev/@tybalt/esbuild-plugin@0.1.6 for details