From 6db44a32136a8407c6bd93784d6707184b491230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Mon, 1 May 2023 11:12:45 +0200 Subject: [PATCH] move `types` condition to the front --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 508126f..0c462fe 100755 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "types": "build/index.d.ts", "type": "commonjs", "exports": { + "types": "./build/index.d.ts", "require": "./build/index.js", - "import": "./build/index.mjs", - "types": "./build/index.d.ts" + "import": "./build/index.mjs" }, "scripts": { "build": "npm run build:clean && npm run compile && cp -R src/index.mjs src/vendor-typings build",