Skip to content

Commit ce27834

Browse files
sippeangeloSimon Holmberg
andauthored
fix(build): "Module not found: Error: Default condition should be last one" when importing with Node (#1)
Co-authored-by: Simon Holmberg <[email protected]> See also https://stackoverflow.com/a/76127619
1 parent 16fab7a commit ce27834

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"types": "./dist/fuzzy-search.d.ts",
2727
"exports": {
2828
"require": "./dist/fuzzy-search.cjs",
29-
"default": "./dist/fuzzy-search.modern.js",
30-
"types": "./dist/fuzzy-search.d.ts"
29+
"types": "./dist/fuzzy-search.d.ts",
30+
"default": "./dist/fuzzy-search.modern.js"
3131
},
3232
"scripts": {
3333
"test": "jest --coverage",

0 commit comments

Comments
 (0)