From 80064b2eb963078e823cb086e0b988424fcb2efb Mon Sep 17 00:00:00 2001 From: Sanjaiyan Parthipan Date: Thu, 13 Oct 2022 19:30:44 +0530 Subject: [PATCH] perf(core): move scripts to document head + defer (#8081) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sébastien Lorber --- .../docusaurus/src/webpack/templates/ssr.html.template.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/docusaurus/src/webpack/templates/ssr.html.template.ts b/packages/docusaurus/src/webpack/templates/ssr.html.template.ts index ee1f8f1b47..d72872abea 100644 --- a/packages/docusaurus/src/webpack/templates/ssr.html.template.ts +++ b/packages/docusaurus/src/webpack/templates/ssr.html.template.ts @@ -19,7 +19,7 @@ export default ` <% }); %> <% it.scripts.forEach((script) => { %> - + <% }); %> > @@ -27,9 +27,6 @@ export default `
<%~ it.appHtml %>
- <% it.scripts.forEach((script) => { %> - - <% }); %> <%~ it.postBodyTags %>