I am building my first react component library. For this I used this template. This is the current state of my library.
I can run the story book with yarn storybook and everything works as expected.
Also I can build and publish to the npm registry.
Now, when I integrate this react component library in a new react app, I get the following error:
Since my experience is rather limited with rollup, webpack, etc, it is hard to pinpoint where the error is.
The error most likely is in the bundeling phase since it works perfectly fine with storybook, right? any ideas what might cause the error?
