Notice
This is a clone of tsd-extract
, but without ES Modules setup. See it instead for an API description.
We needed it because mdx-bundler
did not support pure ESM packages where exports
key in package.json
was set to an object (mapping to ESM and IIFE builds), not a string (ESM build). Practically, this meant our program couldn’t be bundled to MDX string, but for example, matcher
could.