Skip to content

Commit

Permalink
update exports
Browse files Browse the repository at this point in the history
  • Loading branch information
raju-opti committed Jul 21, 2023
1 parent dc0338e commit 6943417
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions packages/optimizely-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"browser": {
"types": "./dist/index.browser.d.ts",
"import": "./dist/optimizely.browser.es.min.js",
"default": "./dist/optimizely.browser.min.js"
},
"react-native": {
Expand All @@ -24,10 +25,37 @@
"default": "./dist/optimizely.node.min.js"
},
"./lite": {
"types": "./dist/index.lite.d.ts",
"node": "./dist/optimizely.lite.min.js",
"import": "./dist/optimizely.lite.es.min.js",
"default": "./dist/optimizely.lite.min.js"
},
"./dist/optimizely.lite.es": {
"types": "./dist/index.lite.d.ts",
"default": "./dist/optimizely.lite.es.js"
},
"./dist/optimizely.lite.es.js": {
"types": "./dist/index.lite.d.ts",
"default": "./dist/optimizely.lite.es.js"
},
"./dist/optimizely.lite.es.min": {
"types": "./dist/index.lite.d.ts",
"default": "./dist/optimizely.lite.es.min.js"
},
"./dist/optimizely.lite.es.min.js": {
"types": "./dist/index.lite.d.ts",
"default": "./dist/optimizely.lite.es.min.js"
},
"./dist/optimizely.lite.min": {
"types": "./dist/index.lite.d.ts",
"default": "./dist/optimizely.lite.min.js"
},
"./dist/optimizely.lite.min.js": {
"types": "./dist/index.lite.d.ts",
"default": "./dist/optimizely.lite.min.js"
}
},

"scripts": {
"clean": "rm -rf dist",
"lint": "tsc --noEmit && eslint 'lib/**/*.js' 'lib/**/*.ts'",
Expand Down

0 comments on commit 6943417

Please sign in to comment.