From 040701148e633f9f4e8fa7011f70b63ec58aa970 Mon Sep 17 00:00:00 2001 From: Lezvix Date: Fri, 26 Dec 2025 08:44:20 +0700 Subject: [PATCH] Fixed package imports in package.json --- package.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 1164192..f7a9bb8 100644 --- a/package.json +++ b/package.json @@ -17,11 +17,10 @@ "typescript": "^5.1.6" }, "exports": { - ".": { - "import": "./dist/esm/binary_parser.mjs", - "require": "./dist/binary_parser.js" - }, - "./*": "./*" + "types": "./dist/binary_parser.d.ts", + "require": "./dist/binary_parser.js", + "import": "./dist/esm/binary_parser.mjs", + "default": "./dist/esm/binary_parser.mjs" }, "scripts": { "build": "npm run build:cjs && npm run build:esm",