Skip to content

Commit

Permalink
[FSSDK-9570] add explicit entry point for node, browser and react_nat…
Browse files Browse the repository at this point in the history
…ive (#905)
  • Loading branch information
raju-opti authored Feb 26, 2024
1 parent e938e3c commit 311e7e2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,20 @@
"default": "./dist/optimizely.browser.es.min.js"
}
},
"./node": {
"types": "./dist/index.node.d.ts",
"default": "./dist/optimizely.node.min.js"
},
"./browser": {
"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"
},
"./react_native": {
"types": "./dist/index.react_native.d.ts",
"default": "./dist/optimizely.react_native.min.js"
},
"./lite": {
"types": "./dist/index.lite.d.ts",
"node": "./dist/optimizely.lite.min.js",
Expand Down

0 comments on commit 311e7e2

Please sign in to comment.