actum / gulp-dev-stack

Actum dev stack based on gulp
MIT License
11 stars 7 forks source link

Add HTML templates validation #208

Closed omladek closed 6 years ago

omladek commented 6 years ago
  1. Add HTML validation task for production build (skip it in DEV, as it is a slow process).

  2. Enable Nunjucks cache in DEV mode.

  3. Prettify HTML output in PRODUCTION mode - as Backend developers often need to the see compiled HTML instead of nunjucks.

In use and tested on Komerční banka and Panesco projects.

Reasoning for HTML validation: invalid HTML issues on Komerční banka could be prevented before HTML implementation on backend started.