From 8ee917ef2945dd2012e20d6e169992f2b8d5ffa7 Mon Sep 17 00:00:00 2001 From: julesrx Date: Wed, 6 Dec 2023 11:24:11 +0100 Subject: [PATCH] type module --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5fe00c2..9ea4844 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name": "bouncing-element", + "type": "module", "description": "JavaScript library to reproduce the famous DVD screensaver with any DOM element.", "version": "2.0.0", "author": "Jules Raffoux (https://julesrx.fr)", @@ -13,8 +14,9 @@ ], "main": "./dist/bouncing-element.umd.js", "module": "./dist/bouncing-element.es.js", - "types": "./dist/lib/main.d.ts", + "types": "./dist/main.d.ts", "exports": { + "./package.json": "./package.json", ".": { "import": "./dist/bouncing-element.es.js", "require": "./dist/bouncing-element.umd.js"