webpack create default config code example
Example: how to configure webpack.config.js file
step 1:-create webpack.config.js file in root folder
step 2:- add below commands to webpack.config.js
module.exports={
mode:"development", // to specify the mode
}