To force Webpack to re-compile the vendor configuration file taking into account the fix we applied early on, we need to run the following command-line instruction from the project's root folder:
> node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js
Alternatively, we can also delete the /wwwroot/dist/ folder to force a full re-compilation upon the first project build.
It's generally wise to recompile the vendor configuration file everytime whenever we perform a task that could impact the generated bundles, ...