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…