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

Update browser example to support nodejs polyfill #1854

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

Godsenal
Copy link
Contributor

Hi.
I tried to use this library in a browser environment, referring to the example/browser directory. However, I noticed that errors occur due to the absence of polyfills for 'process' and 'Buffer'.

I have updated the webpack configuration and the package.json to apply the necessary polyfills. (like node-polyfill-webpack-plugin)

Copy link
Owner

@h3poteto h3poteto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@h3poteto h3poteto merged commit 85dea2e into h3poteto:master Aug 16, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants