I known that the library vite-plugin-dts is not an official library, but currently is the only one that auto create the type definitions when targeting as lib mode, with the release of the new multiple entry point, i would like to correctly generate the definitions according to my folder structure.
What i've followed so far is the type generations from https://www.raulmelo.dev/blog/build-javascript-library-with-multiple-entry-points-using-vite-3 (Only the type generation section, since it's now native),
alghout i was able to get the correct types, when i try to run a project with the library, it says Missing "./[module]" export in "trentim-react-sdk" package because the type path doesnt' match correctly to the files
vite.config.ts