Skip to content

Commit

Permalink
fix(build): "Module not found: Error: Default condition should be las…
Browse files Browse the repository at this point in the history
…t one" when importing with Node (#1)

Co-authored-by: Simon Holmberg <simon.holmberg@relevant-digital.com>
See also https://stackoverflow.com/a/76127619
  • Loading branch information
sippeangelo committed Feb 17, 2024
1 parent 16fab7a commit ce27834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -26,8 +26,8 @@
"types": "./dist/fuzzy-search.d.ts",
"exports": {
"require": "./dist/fuzzy-search.cjs",
"default": "./dist/fuzzy-search.modern.js",
"types": "./dist/fuzzy-search.d.ts"
"types": "./dist/fuzzy-search.d.ts",
"default": "./dist/fuzzy-search.modern.js"
},
"scripts": {
"test": "jest --coverage",
Expand Down

0 comments on commit ce27834

Please sign in to comment.