From 1cb585b796bfcc33790ee319ec9c0ceb5a1048d7 Mon Sep 17 00:00:00 2001 From: Mark Date: Tue, 31 Oct 2023 01:01:34 -0400 Subject: [PATCH] fix(package): specify "types" in package.json --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 47e289d..da61016 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,9 @@ "version": "1.0.3", "description": "Converts inline style to object.", "author": "Mark ", - "main": "cjs/index.js", - "module": "esm/index.mjs", + "main": "./cjs/index.js", + "module": "./esm/index.mjs", + "types": "./cjs/index.d.ts", "exports": { "types": "./cjs/index.d.ts", "import": "./esm/index.mjs",