Closed
Description
If I try to bundle a typescript project into a commonjs library for reuse, webpack with ts-loader will spit out beautiful javascript commonjs code for the library, but I have to use tsc
in order to generate the declaration files.
Have you considered trying to support export of type definitions next to a bundle via ts-loader?
For reference:
https://github.com/SonofNun15/typescript-library-test/blob/master/README.md