web3 / web3.js

Collection of comprehensive TypeScript libraries for Interaction with the Ethereum JSON RPC API and utility functions.
https://web3js.org/
Other
19.3k stars 4.95k forks source link

webpack5 support for angular-cli #4174

Closed GregTheGreek closed 3 years ago

GregTheGreek commented 3 years ago

When a user uses the Angular CLI to make their Angular project, it comes pre bundled with webpack 5. The scope will be to ensure that web3.js can be successfully bundled using webpack 5 and within an Angular project made with the Angular CLI.

luu-alex commented 3 years ago

The old instructions on the readme to solve this problem does not work in the latest angular version, so in the upcoming PR I included instructions to solve the build error in the readme for the web3js library, to help out angular users when they run into this.