From b64b971c155804567aee2587cb667bd5d4c89de8 Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Sat, 7 Mar 2026 19:21:05 -0300 Subject: [PATCH] fix: correct published package entrypoints Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- package.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index c449b27..cefdd79 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,17 @@ { "name": "@libresign/pdf-elements", "description": "PDF viewer with draggable and resizable element overlays for Vue 3", - "version": "1.1.1", + "version": "1.1.2", "author": "LibreCode ", "private": false, - "main": "dist/index.js", - "module": "dist/index.js", + "main": "dist/index.mjs", + "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { - "import": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "default": "./dist/index.mjs" }, "./src/components/PDFElements.vue": "./src/components/PDFElements.vue", "./src/utils/asyncReader": "./src/utils/asyncReader.ts"