Hi,
In order to solve this problem I used the `prepack` and `postpack` commands in `package.json` using the `json` library to change the main file being executed.
The `prepack` step is run before the library is packaged up so it’ll change the entry point, package it up and then `postpack` which is run after puts the entry point back to the story book one.
```
“prepack”: “json -I -f package.json -e ‘this.main=\”lib/commonjs/index.js\”’”,
. “postpack”: “json -I -f package.json -e ‘this.main=\”node_modules/expo/AppEntry.js\”’”,
```