From bc4b1ed976f3c730c4e73faf0f4429c77523a44c Mon Sep 17 00:00:00 2001 From: Paul Rubritz Date: Thu, 7 Aug 2025 16:20:32 -0400 Subject: [PATCH] fix for library export --- package.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2cd0a9e..f8075c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tailscale/tailscale-ui-components", - "version": "0.0.1", + "version": "0.0.2", "author": "Tailscale", "license": "MIT", "main": "dist/tailscale-ui-components.umd.js", @@ -10,6 +10,13 @@ "files": [ "dist" ], + "exports": { + ".": { + "import": "./dist/tailscale-ui-components.es.js", + "require": "./dist/tailscale-ui-components.umd.js", + "types": "./dist/index.d.ts" + } + }, "publishConfig": { "registry": "https://npm.pkg.github.com" },