Skip to content
This repository was archived by the owner on Jul 14, 2026. It is now read-only.

Update webpack.config.js - #745

Open
EnderJ25 wants to merge 1 commit into
gram-js:masterfrom
EnderJ25:patch-1
Open

Update webpack.config.js#745
EnderJ25 wants to merge 1 commit into
gram-js:masterfrom
EnderJ25:patch-1

Conversation

@EnderJ25

Copy link
Copy Markdown

in GramJS v2.17.4 if you build webpack bundle and loads to browser, logging in will fail because missing modules/pollyfills. this solves the missing modules error

in GramJS v2.17.4 if you build webpack bundle and loads to browser, logging in will fail because missing modules/pollyfills. this solves the missing modules error
@samislam

Copy link
Copy Markdown

You also forgot to include changes in package.json, you have to install missing packages as well

npm install vm-browserify crypto-browserify

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants