An example of how to author libraries using webpack.
Switch branches/tags
Nothing to show
Clone or download
kensongzhu and pksjce upgrade to webpack 4.4.1 (#8)
* update to webpack-4.1.1 but failed on node

* update to webpack 4.4.1 and fix UMD issue (webpack#6525)

* simply set output.globalObject to "this"
Latest commit eeed58b Apr 6, 2018

Tutorial of how to author a library using webpack.


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


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