Esbuild doesn't appear to play nice with dts files and when they are regular ts files they require the exports