Closed omladek closed 6 years ago
Add HTML validation task for production build (skip it in DEV, as it is a slow process).
Enable Nunjucks cache in DEV mode.
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.
Add HTML validation task for production build (skip it in DEV, as it is a slow process).
Enable Nunjucks cache in DEV mode.
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.