Skip to content

Commit

Permalink
fix(v2): tweak minify html to be safer (#2122)
Browse files Browse the repository at this point in the history
  • Loading branch information
endiliey authored and yangshun committed Dec 13, 2019
1 parent daa71b2 commit c036740
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/docusaurus/src/client/serverEntry.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c036740

Please sign in to comment.