dtt-demo

An example of how to author libraries using webpack

Usage no npm install needed!

<script type="module">
  import dttDemo from 'https://cdn.skypack.dev/dtt-demo';
</script>

README

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.