webpack-library-example icon indicating copy to clipboard operation
webpack-library-example copied to clipboard

An example of how to author libraries using webpack.

Tutorial of how to author a library using webpack.

Outline

This library exposes functionality to transalte numbers to words. It is trivial code but the aim is to bundle it using webpack.

Features

  1. Bundling library code into all library targets ie CommonJS, AMD, ES2015 exports, UMD.
  2. Having lodash as an external dependency.