Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser support #17

Open
nios87 opened this issue Jan 13, 2022 · 2 comments
Open

Browser support #17

nios87 opened this issue Jan 13, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@nios87
Copy link

nios87 commented Jan 13, 2022

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

@codetheweb codetheweb changed the title Support for Webpack 5 Browser support Jan 14, 2022
@codetheweb
Copy link
Owner

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 codetheweb added the enhancement New feature or request label Jan 14, 2022
@nios87
Copy link
Author

nios87 commented Jan 14, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants