Skip to content

Commit

Permalink
Add ESM and rollup build
Browse files Browse the repository at this point in the history
Fixes farzher#94

Adds a rollup config file to build ESM, CJS, and UMD bundles. Based on the source in src/fuzzysort.js.

Checks in the new esm file and the updated cjs and umd files.

Also updates the package.json to include `module` and `browser` fields for the ESM and UMD bundles.
  • Loading branch information
hugo-vrijswijk committed Nov 22, 2024
1 parent b227b02 commit c5c45bc
Show file tree
Hide file tree
Showing 9 changed files with 2,255 additions and 589 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
1,155 changes: 577 additions & 578 deletions fuzzysort.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions fuzzysort.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c5c45bc

Please sign in to comment.