I am trying to setup a Webpack configuration for a website I want to build. I want to compile SASS to CSS and place it into the dist folder. When I run npm run build>
npm run build>
dev server have the option writeToDisk
module.exports = { //... devServer: { writeToDisk: true } };
check this : https://webpack.js.org/configuration/dev-server/#devserverwritetodisk-