From 463f7f59d4ec4c2e71a3599bd12f47ab952ea106 Mon Sep 17 00:00:00 2001 From: xiaohe0601 Date: Wed, 27 Nov 2024 11:08:58 +0800 Subject: [PATCH] fix: correct import target file --- package.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package.json b/package.json index acdc6d1..dfa1b98 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,14 @@ "main": "dist/aimless.js", "module": "dist/aimless.module.js", "types": "dist/aimless.d.ts", + "exports": { + ".": { + "types": "./dist/aimless.d.ts", + "import": "./dist/aimless.module.js", + "require": "./dist/aimless.js" + }, + "./*": "./*" + }, "license": "MIT", "repository": "ChrisCavs/aimless.js", "author": {