From ce27834c139666e7b74a989e434fa69c7ee40b27 Mon Sep 17 00:00:00 2001 From: Simon Holmberg Date: Sat, 17 Feb 2024 14:02:24 +0100 Subject: [PATCH] fix(build): "Module not found: Error: Default condition should be last one" when importing with Node (#1) Co-authored-by: Simon Holmberg See also https://stackoverflow.com/a/76127619 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5401b0f..8bc4fe9 100644 --- a/package.json +++ b/package.json @@ -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",