Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 569 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 569 Bytes

Warning. This is my first plugin for Webpack. May be bugs 🐜.

Validate html files with html-validate only static html files.

npm i -D https://github.com/alte0/webpack-html-validate-plugin

Use plugin:

const WebpackHtmlValidatePlugin = require('webpack-html-validate')

 plugins: [
   new WebpackHtmlValidatePlugin()
 ]

Configuration

Create .htmlvalidate.json:

{
  "extends": [
    "html-validate:recommended"
  ]
}

####Look more - gitlab html-validate