From 11e6a3697815b4d9cdbd879c64de4259afc79c19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20S=C3=A1nchez?= Date: Fri, 11 Aug 2023 16:45:01 +0200 Subject: [PATCH] fix: subpackages dts in node10 (#2) --- package.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/package.json b/package.json index 510ed0c8c..9c40b82a4 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,26 @@ "main": "./dist/index.mjs", "module": "./dist/index.mjs", "types": "./dist/index.d.mts", + "typesVersions": { + "*": { + "core": [ + "./dist/core.d.mts" + ], + "wasm": [ + "./dist/wasm.d.mts" + ], + "languages": [ + "./dist/languages.d.mts" + ], + "themes": [ + "./dist/themes.d.mts" + ], + "*": [ + "./dist/*", + "./*" + ] + } + }, "files": [ "dist" ],