From f7c7990ab6c08f1c2315284d85211473823bc3e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Jerkovi=C4=87?= Date: Tue, 25 Jun 2024 09:28:49 +0200 Subject: [PATCH] build: updated package.json module export to `exports` keyword --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index cada9cd..432cd2c 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,11 @@ "license": "MIT", "author": "Rimac Technology d.o.o.", "type": "module", - "main": "dist/index.js", + "exports": { + ".": { + "default": "./dist/index.js" + } + }, "files": [ "dist" ],