Workspaces
pontusab opened this issue · comments
Thanks for a great lib!
We have one small issue with this running in yarn workspaces, if it's loaded from the root node_modules (without nohoist) the library outputs the error "require is not a function".
Moving the lib to the subfolder ie nohoist it works as expected.
After investigation running with no hoist the app crashes in production build but works in dev mode
Hi, @pontusab
Thank you for the issue :)
Could you please create a small project/reproducable demo?
And also, please, say, which version of the library do you use?
In fact I fixed similar error in 1.0.5
I suppose you use 1.0.6 and yours issue a little bit tricky, than I may think
So sample of the project, where error exists, may significantly help me
Hey man! I use the latest version of this library, I will create a repo for you!
@pontusab Amazing! Thank you