I have a webpack file that have multiple entry points, and it build each output of the entry files into a single build file.
for eg :
commonSettings = {
entry: {
dashboard: "/manage/dashboard.js",
settings: "/manage/settings.js",
},
}
So the issue is that each time i take build a particular entry, i will get more and more built files inside it.
dashboard-f1aw545234ej235213513.min.js
dashboard-f3ari2j3jn5b534k6j3rm.min.js
dashboard-f5kljh3q4jbkl2jrjkenn1.min.js
How can i replace the existing build file for the particular entry when am doing a new build ?