anylist icon indicating copy to clipboard operation
anylist copied to clipboard

Browser support

Open nios87 opened this issue 3 years ago • 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

nios87 avatar Jan 13 '22 21:01 nios87

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.

codetheweb avatar Jan 14 '22 00:01 codetheweb

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

nios87 avatar Jan 14 '22 06:01 nios87