Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 1.09 KB

README.md

File metadata and controls

14 lines (9 loc) · 1.09 KB

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).