mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 10:17:55 +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
|
||||
return minify(renderedHtml, {
|
||||
collapseWhitespace: true,
|
||||
removeComments: true,
|
||||
removeRedundantAttributes: true,
|
||||
removeEmptyAttributes: true,
|
||||
|
|
Loading…
Add table
Reference in a new issue