Webpack

ValidationError: Invalid options object Dev Server – Webpack 5

Today while updating Webpack 4 to 5, got below error:ValidationError: Invalid options object Dev Server has been initiated using an options object that does not match the API schema. After some analysis 🔎, found that there are changes in the options we provide to Webpack Dev Server in Webpack 5.🕵️‍♂️ Invalid options object Dev Server …

ValidationError: Invalid options object Dev Server – Webpack 5 Read More »

WARN export ‘default’ (imported as ‘content’) was not found

Hello Friends 🙏, today while I was setting up a new React project from scratch without using create-react-app and after doing all the required steps when I compiled the React App, I got below warning😮: So basically it is related to mini-css-extract-plugin, we have used it to extract the styles from the project to a …

WARN export ‘default’ (imported as ‘content’) was not found Read More »