Skip to content

Update webpack.config.js#745

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

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

Conversation

@EnderJ25
Copy link

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

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 join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants