From be0f23fed13c7fb4af7b1faf263a061de9fefb03 Mon Sep 17 00:00:00 2001 From: v1rtl Date: Fri, 27 Oct 2023 16:40:53 +0300 Subject: [PATCH] feat: export file logger as well --- package.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b1d3ae6..d62f780 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,17 @@ "node": ">=14.18 || >=16.20" }, "types": "./dist/index.d.ts", - "exports": "./dist/index.js", + "module": "./dist/index.js", + "exports": { + ".": { + "import": "./dist/index.js", + "types": "./dist/index.d.ts" + }, + "./filelogger": { + "import": "./dist/filelogger.js", + "types": "./dist/filelogger.d.ts" + } + }, "keywords": [ "tinyhttp", "node.js",