In the most recent version webpack removed polyfills for core modules which now need to be manually configured.
create-react-app uses webpack v5 and developers building a Dapp using it will see their build failing if pact-lang-api is used as a dependency.
Solution:
Eject the create-react-app config or use react-app-rewired
Issue description:
In the most recent version webpack removed polyfills for core modules which now need to be manually configured.
create-react-app
uses webpack v5 and developers building a Dapp using it will see their build failing ifpact-lang-api
is used as a dependency.Solution:
create-react-app
config or usereact-app-rewired