From bb0666c13444e68e328088a1944dfdd9698d8467 Mon Sep 17 00:00:00 2001 From: szuhaydv Date: Tue, 4 Feb 2025 03:38:06 +0100 Subject: [PATCH] Add missing exports condition in package.json --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index 94a74e6..93b1e8c 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,12 @@ "description": "tinro is a tiny declarative router for Svelte", "main": "dist/tinro.js", "module": "dist/tinro.es.js", + "exports": { + ".": { + "types": "./dist/ts/index.d.ts", + "svelte": "./dist/index.js" + } + }, "svelte": "cmp/index.js", "types": "index.d.ts", "scripts": {