codetheweb/anylist

Browser support

nios87 opened this issue · 2 comments

Hello i tried using this in a new react 17 project but there is alot of issues with Webpack 5 no longer polyfilling node.js

Example

image

This package isn't currently made to be run in a browser.

Happy to accept a PR that would allow it to work in both browsers and Node.js.

Ah. I almost suspected that might be the case but was not sure. I have never made a package for npm my self so i'm not sure how to go about it.

I know i locally in my project can use this if i add a webpack config file and polyfill theese packages. Not sure if it would work if one where to add one of thoose config files in this package