From a93990b4dbe12779a7a21f1e252a85be65feba1b Mon Sep 17 00:00:00 2001 From: Raju Ahmed Date: Fri, 19 Jan 2024 01:42:00 +0600 Subject: [PATCH] update --- package.json | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 80a27c7d3..6a2110b5b 100644 --- a/package.json +++ b/package.json @@ -13,21 +13,21 @@ "types": "./dist/index.node.d.ts", "default": "./dist/optimizely.node.min.js" }, - "browser": { - "types": "./dist/index.browser.d.ts", - "import": "./dist/optimizely.browser.es.min.js", - "default": "./dist/optimizely.browser.min.js" - }, "react-native": { "types": "./dist/index.react_native.d.ts", "default": "./dist/optimizely.react_native.min.js" }, - "default": "./dist/optimizely.node.min.js" + "default": { + "types": "./dist/index.browser.d.ts", + "require": "./dist/optimizely.browser.min.js", + "import": "./dist/optimizely.browser.es.js", + "default": "./dist/optimizely.browser.es.min.js" + } }, "./lite": { "types": "./dist/index.lite.d.ts", "node": "./dist/optimizely.lite.min.js", - "import": "./dist/optimizely.lite.es.min.js", + "import": "./dist/optimizely.lite.es.js", "default": "./dist/optimizely.lite.min.js" }, "./dist/optimizely.lite.es": { @@ -53,12 +53,7 @@ "./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",