From 539743914c459a87faa5bbea328f37bac067b119 Mon Sep 17 00:00:00 2001 From: Raju Ahmed Date: Thu, 27 Jul 2023 17:56:51 +0600 Subject: [PATCH] more exports --- packages/optimizely-sdk/package.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/optimizely-sdk/package.json b/packages/optimizely-sdk/package.json index 90eb1c72f..c252268da 100644 --- a/packages/optimizely-sdk/package.json +++ b/packages/optimizely-sdk/package.json @@ -24,9 +24,9 @@ }, "default": "./dist/optimizely.node.min.js" }, - "./lite": { + "./lite": { "types": "./dist/index.lite.d.ts", - "node": "./dist/optimizely.lite.min.js", + "node": "./dist/optimizely.lite.min.js", "import": "./dist/optimizely.lite.es.min.js", "default": "./dist/optimizely.lite.min.js" }, @@ -53,9 +53,13 @@ "./dist/optimizely.lite.min.js": { "types": "./dist/index.lite.d.ts", "default": "./dist/optimizely.lite.min.js" - } + }, + "./dist/*.js": "./dist/*.js", + "./dist/*.ts": "./dist/*.ts", + "./dist/*": ["./dist/*.js", "./dist/*/index.js", "./dist/*/index.ts"], + "./lib/*.ts": "./lib/*.ts", + "./lib/*": ["./lib/*.ts", "./lib/*/index.ts"] }, - "scripts": { "clean": "rm -rf dist", "lint": "tsc --noEmit && eslint 'lib/**/*.js' 'lib/**/*.ts'",