codetheweb / anylist

📋 a wrapper for AnyList's API (unoffical, reverse engineered)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Browser support

nios87 opened this issue · 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