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" ],