-
Notifications
You must be signed in to change notification settings - Fork 5k
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
web3.min.js is broken in 1.2.3 and 1.2.4 #3222
Comments
Thanks for opening this issue! The minified file was only existing for version 1.2.2 because we had defined the browser property to point on the minified dist files. This browser property got removed because it blocked some projects from bundling their apps in an optimized way. |
Sorry I've forgotten to answer this. You would have to run |
@nivida I have the same issue with dist/web3.min.js from 1.2.4 or built from 1.x branch. Is there any place I can get a clean version working in the browser until this is fixed? |
Hi @DurandA, |
web3.min.js from dist folder are broken in versions 1.2.3 and 1.2.4.
Google Chrome (78.0.3904.108) on Mac OS produces "require is not defined at web3.min.js:1" error.
Everything work fine with 1.2.2
Also, I'm getting same error for 1.2.3 and 1.2.4 if I build web3.min.js with
npm run-script build
The text was updated successfully, but these errors were encountered: