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 25, 2024
1 parent b227b02 commit ebd7bb5
Show file tree
Hide file tree
Showing 9 changed files with 2,515 additions and 590 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
*.map
1,156 changes: 578 additions & 578 deletions fuzzysort.js

Large diffs are not rendered by default.

4 changes: 2 additions & 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 ebd7bb5

Please sign in to comment.