From 4777a756314c012194cb749fc4d70011658926e1 Mon Sep 17 00:00:00 2001 From: Romain Le Cellier Date: Fri, 12 May 2023 14:53:13 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8(react)=20fix=20package=20json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix error: Module not found: Error: Default condition should be last one --- packages/react/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react/package.json b/packages/react/package.json index 5b9948a..f0c0c5f 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -11,8 +11,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "default": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./style": "./dist/style.css", "./fonts": "./dist/fonts.css",