2020-03-23 20:31:02 -07:00
..
2020-03-23 20:31:02 -07:00
2020-03-23 17:49:59 -07:00
2020-03-23 20:31:02 -07:00
2020-03-23 20:31:02 -07:00
2020-03-23 20:31:02 -07:00
2020-03-23 08:22:20 -07:00

Explanation of Build Files

UMD CommonJS ES Module (for bundlers)
Development fuse.js fuse.common.js fuse.esm.js
Production fuse.min.js - -

Terms

  • UMD: UMD builds can be used directly in the browser via a <script> tag. The default file from jsDelivr CDN at https://cdn.jsdelivr.net/npm/fuse.js is the UMD build (fuse.js).

  • CommonJS: CommonJS builds are intended for use with older bundlers like browserify or webpack 1. The file for these bundlers (pkg.main) is the CommonJS build (fuse.common.js).

  • ES Module: Intended for use with modern bundlers like Webpack 2 or Rollup. The file for these bundlers (pkg.module) is the ES Module build (fuse.esm.js).