Upgrading webpack from 3.10.0 to 4.1.1

Webpack 4.0.0 was released last month and joy spread quickly amongst the people due to the faster compile time and the less complex configuration. However there are some minor things that failed when we tried to upgrade our webpack version directly. Let take a look at those things.…

Reading rev-manifest.json from razor/MVC

In a recent project, we wanted our JavaScript to be built by webpack. We also wanted to remove the dependency to the Web.Optimization framework and solely use NPM and webpack to generate our files. This technique goes for assets in production because a rev-manifest.json is a pointer to…