Read about this setup at: Compiling and bundling TypeScript libraries with Webpack.
bbottema/typescript-lib-example
Example of TypeScript library setup for multiple compilation targets using tsc and webpack
JavaScriptMIT
Example of TypeScript library setup for multiple compilation targets using tsc and webpack
JavaScriptMIT
Read about this setup at: Compiling and bundling TypeScript libraries with Webpack.