Validates the html files based on the Nu validator https://github.com/zrrrzzt/html-validator
npm i html-validate-plugin --save-dev
webpack.config.js
const HtmlValidatePlugin = require('html-validate-plugin')
const config = {
plugins: [
new HtmlValidatePlugin('src/**/*', 'https://validator.w3.org/nu/')
]
}