When running the react-spa demo project a well-known error pops up. It can be reproduced for instance via docker run --rm -p3000:3000 -it node:20 sh -c "git clone https://github.com/iMerica/dj-rest-auth.git && cd dj-rest-auth/demo/react-spa && yarn && yarn run start".
This PR adds one of the proposed workarounds from webpack#15900.
Hello!
When running the react-spa demo project a well-known error pops up. It can be reproduced for instance via
docker run --rm -p3000:3000 -it node:20 sh -c "git clone https://github.com/iMerica/dj-rest-auth.git && cd dj-rest-auth/demo/react-spa && yarn && yarn run start"
. This PR adds one of the proposed workarounds from webpack#15900.