In order to support the upcoming html-webpack-plugin version 4 (for Webpack 4), the tapable.js need to be adjusted slightly. When quickly testing on my project I just modified the following to make everything work.
Add:
var HtmlWebpackPlugin = require("html-webpack-plugin");
In order to support the upcoming
html-webpack-plugin
version 4 (for Webpack 4), thetapable.js
need to be adjusted slightly. When quickly testing on my project I just modified the following to make everything work.Add:
Change 1:
Change 2: