Is there a simple way to add simple HTTP Basic Authentication to the Webpack Dev Server in a Zero-Configuration-React-App.
What I did:
- I've created a react app using
create-react-app, then built my whole app. - I then ejected it using
npm run eject. - Then I googled for hours and didn't find any hint.
Is there a configuration for this or do I have to add a middleware? Or is the only / easiest way to use webpack together with express?