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 <[email protected]>
See also https://stackoverflow.com/a/76127619
  • Loading branch information
sippeangelo authored 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
Original file line number Diff line number Diff line change
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.