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

How use it in browser? #29

Open
mishell-trickster opened this issue Mar 13, 2019 · 4 comments
Open

How use it in browser? #29

mishell-trickster opened this issue Mar 13, 2019 · 4 comments

Comments

@mishell-trickster
Copy link

Its nodejs project. How I must integrate it with my frontend?

@calvinmetcalf
Copy link
Contributor

browserify or webpack

@hansifer
Copy link

hansifer commented Mar 21, 2019

@calvinmetcalf requiring the lib consumer's module bundling solution to provide polyfills for native node modules is problematic in some cases. Eg, Angular-CLI 6+.

See: angular/angular-cli#9827 (comment)

@sundaywork
Copy link

Can you indicate how to convert to browser version? I constantly get the issue
process is not defined

@sundaywork
Copy link

solved by setting process to 'mock'

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

No branches or pull requests

4 participants