/webpack-library-example

An example of how to author libraries using webpack.

Primary LanguageJavaScript

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.