Tutorial of how to author a library using webpack using TypeScript.
This is an example of how to use TypeScript along with Webpack 2 in the creation of library that can be consumed in other applications. It builds upon webpack-library-example
This library exposes functionality to transalte numbers to words. It is trivial code but the aim is to bundle it using webpack.
- Bundling library code into all library targets ie CommonJS, AMD, ES2015 exports, UMD.
- Transpilation for the browser, via tsc, and node, via babel