obtain validatornu release from npm
This commit is contained in:
@@ -77,7 +77,7 @@ sed -i "$replace" static-tmp/releases.html
|
||||
gixy nginx-tmp/nginx.conf
|
||||
|
||||
xmllint --noout static-tmp/**/*.html
|
||||
validatornu --errors-only --also-check-css --also-check-svg static-tmp/**/!(bimi).@(css|html|svg)
|
||||
java -jar node_modules/vnu-jar/build/dist/vnu.jar --errors-only --also-check-css --also-check-svg static-tmp/**/!(bimi).@(css|html|svg)
|
||||
find static-tmp -name '*.html' -exec html-minifier --collapse-whitespace \
|
||||
--process-scripts "application/ld+json" --collapse-boolean-attributes \
|
||||
--remove-attribute-quotes --remove-comments --remove-empty-attributes \
|
||||
|
||||
Reference in New Issue
Block a user