From 3e1b1c2e635dc4d63dd5c19fb5858b4dcb17d0d6 Mon Sep 17 00:00:00 2001 From: Ayubkhon Gulomov Date: Tue, 30 Apr 2024 16:09:59 +0500 Subject: [PATCH] fix: vite exports (#35) --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index f5e6d31..045fb35 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "0.0.2", "description": "A react component for reading barcodes and Qr codes from keybord input devices.", "main": "./lib/index.js", + "exports": { + ".": "./lib/index.js" + }, "module": "commonjs", "scripts": { "storybook": "start-storybook -p 9001",