Open paul-rchds opened 1 year ago
I think maybe the way you're bundling it is causing problems? what's your setup?
I am using esbuild which is adding the numbers. Thanks for the tip.
I'm also working on this and we also want to try WatermelonDB in our Chrome extension
I am attempting to use wmdb in a chrome extension but am running into issues. Instantiating the database gives me a instance of a class of the name Database where the number seems to be random. This seems very odd to me and I don't know how the class name is changing. Then when I add the DatabaseProvider the following fails: https://github.com/Nozbe/WatermelonDB/blob/1097096122078a1efff6c56ac0ac3ceb4c1653e5/src/DatabaseProvider/index.js#L16
here is a simplified copy of my code, the code is running in a chrome extension popup.
Any help will be greatly appreciated as I have been trying to get this to work for hours.