I spent some time trying to get this working but unfortunately didn't get anywhere. I don't think it's an issue with not being able to use native modules, because this package works even in Chrome Extensions (they have some examples of it). From what I can read in their repo and issues, it's about bundling the package properly with WebPack, maybe by ignoring or disabling certain files.
I tried the solutions they propose using IgnorePlugin and resolve.alias but nothing seems to work. Maybe you could ask them and see if they have any ideas why it doesn't work.
1 Like