From 25d1d6c8e1ffc018af4382806f57c2efc5a900de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B9=A4=E4=BB=99?= Date: Wed, 26 Nov 2025 15:32:27 +0800 Subject: [PATCH] feat: add additional exports to package.json for generate and interface modules --- package.json | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/package.json b/package.json index 39cdbaeb7..9cc7d2e2b 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,46 @@ "types": "./es/locale/*.d.ts", "import": "./es/locale/*.js", "require": "./lib/locale/*.js" + }, + "./lib/generate": { + "types": "./es/generate/index.d.ts", + "import": "./es/generate/index.js", + "require": "./lib/generate/index.js" + }, + "./lib/generate/*": { + "types": "./es/generate/*.d.ts", + "import": "./es/generate/*.js", + "require": "./lib/generate/*.js" + }, + "./lib/interface": { + "types": "./es/interface.d.ts", + "import": "./es/interface.js", + "require": "./lib/interface.js" + }, + "./lib/locale/*": { + "types": "./es/locale/*.d.ts", + "import": "./es/locale/*.js", + "require": "./lib/locale/*.js" + }, + "./es/generate": { + "types": "./es/generate/index.d.ts", + "import": "./es/generate/index.js", + "require": "./lib/generate/index.js" + }, + "./es/generate/*": { + "types": "./es/generate/*.d.ts", + "import": "./es/generate/*.js", + "require": "./lib/generate/*.js" + }, + "./es/interface": { + "types": "./es/interface.d.ts", + "import": "./es/interface.js", + "require": "./lib/interface.js" + }, + "./es/locale/*": { + "types": "./es/locale/*.d.ts", + "import": "./es/locale/*.js", + "require": "./lib/locale/*.js" } }, "files": [