From 20cd2bda9d858697eec37f1987430abb36a00b42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Bostro=CC=88m?= Date: Tue, 1 Oct 2024 00:31:53 +0300 Subject: [PATCH] fix(build): subpath exports as objects --- package.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3f48f25..f6da25c 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,14 @@ ], "exports": { ".": "./dist/index.js", - "./extensions/*": "./dist/extensions/*.js" + "./extensions/fileWriter": { + "types": "./dist/extensions/fileWriter.d.ts", + "default": "./dist/extensions/fileWriter.js" + }, + "./extensions/bubbleTail": { + "types": "./dist/extensions/bubbleTail.d.ts", + "default": "./dist/extensions/bubbleTail.js" + } }, "scripts": { "prepare": "husky",