mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-23 13:07:57 +02:00
fix(v2): tweak minify html to be safer (#2122)
This commit is contained in:
parent
daa71b2eff
commit
c036740790
1 changed files with 0 additions and 1 deletions
|
@ -78,7 +78,6 @@ export default async function render(locals) {
|
||||||
|
|
||||||
// minify html with https://github.com/DanielRuf/html-minifier-terser
|
// minify html with https://github.com/DanielRuf/html-minifier-terser
|
||||||
return minify(renderedHtml, {
|
return minify(renderedHtml, {
|
||||||
collapseWhitespace: true,
|
|
||||||
removeComments: true,
|
removeComments: true,
|
||||||
removeRedundantAttributes: true,
|
removeRedundantAttributes: true,
|
||||||
removeEmptyAttributes: true,
|
removeEmptyAttributes: true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue