Skip to content

Commit

Permalink
exports seemed to introduce dynamic import errors
Browse files Browse the repository at this point in the history
Without this change this, when doing `import {CloudbeesProvider} from 'cloudbees-openfeature-provider-node'` I was getting the error
```
Error: Dynamic require of "http" is not supported
```
🤷‍
  • Loading branch information
Steve Arch committed Sep 12, 2022
1 parent 25a1cc9 commit 751e195
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,6 @@
"files": [
"dist/"
],
"exports": {
"node": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
}
},
"dependencies": {
"@openfeature/nodejs-sdk": "^0.3.1",
"rox-node": "^5.4.2"
Expand Down

0 comments on commit 751e195

Please sign in to comment.