From 319e564cd8796175293cac54ff0eb9eb8c40ea22 Mon Sep 17 00:00:00 2001 From: Florian Lefebvre Date: Thu, 21 Mar 2024 19:34:38 +0100 Subject: [PATCH] Update package.json --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1382284..a1561ff 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,12 @@ "version": "2.0.0-alpha1", "license": "GPL-3.0+", "author": "Rodrigo Tomé ", - "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + }, "repository": { "type": "git", "url": "git+https://github.com/RodrigoTomeES/astro-rename.git"