@docusaurus/core 0.0.0-5331 → 0.0.0-5333

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,5 +4,5 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- declare const _default: "\n<!DOCTYPE html>\n<html <%~ it.htmlAttributes %>>\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"generator\" content=\"Docusaurus v<%= it.version %>\">\n <% it.metaAttributes.forEach((metaAttribute) => { %>\n <%~ metaAttribute %>\n <% }); %>\n <%~ it.headTags %>\n <% it.stylesheets.forEach((stylesheet) => { %>\n <link rel=\"stylesheet\" href=\"<%= it.baseUrl %><%= stylesheet %>\" />\n <% }); %>\n <% it.scripts.forEach((script) => { %>\n <link rel=\"preload\" href=\"<%= it.baseUrl %><%= script %>\" as=\"script\">\n <% }); %>\n </head>\n <body <%~ it.bodyAttributes %>>\n <%~ it.preBodyTags %>\n <div id=\"__docusaurus\">\n <%~ it.appHtml %>\n </div>\n <% it.scripts.forEach((script) => { %>\n <script src=\"<%= it.baseUrl %><%= script %>\"></script>\n <% }); %>\n <%~ it.postBodyTags %>\n </body>\n</html>\n";
7
+ declare const _default: "\n<!DOCTYPE html>\n<html <%~ it.htmlAttributes %>>\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"generator\" content=\"Docusaurus v<%= it.version %>\">\n <% it.metaAttributes.forEach((metaAttribute) => { %>\n <%~ metaAttribute %>\n <% }); %>\n <%~ it.headTags %>\n <% it.stylesheets.forEach((stylesheet) => { %>\n <link rel=\"stylesheet\" href=\"<%= it.baseUrl %><%= stylesheet %>\" />\n <% }); %>\n <% it.scripts.forEach((script) => { %>\n <script src=\"<%= it.baseUrl %><%= script %>\" defer></script>\n <% }); %>\n </head>\n <body <%~ it.bodyAttributes %>>\n <%~ it.preBodyTags %>\n <div id=\"__docusaurus\">\n <%~ it.appHtml %>\n </div>\n <%~ it.postBodyTags %>\n </body>\n</html>\n";
8
8
  export default _default;
@@ -20,7 +20,7 @@ exports.default = `
20
20
  <link rel="stylesheet" href="<%= it.baseUrl %><%= stylesheet %>" />
21
21
  <% }); %>
22
22
  <% it.scripts.forEach((script) => { %>
23
- <link rel="preload" href="<%= it.baseUrl %><%= script %>" as="script">
23
+ <script src="<%= it.baseUrl %><%= script %>" defer></script>
24
24
  <% }); %>
25
25
  </head>
26
26
  <body <%~ it.bodyAttributes %>>
@@ -28,9 +28,6 @@ exports.default = `
28
28
  <div id="__docusaurus">
29
29
  <%~ it.appHtml %>
30
30
  </div>
31
- <% it.scripts.forEach((script) => { %>
32
- <script src="<%= it.baseUrl %><%= script %>"></script>
33
- <% }); %>
34
31
  <%~ it.postBodyTags %>
35
32
  </body>
36
33
  </html>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@docusaurus/core",
3
3
  "description": "Easy to Maintain Open Source Documentation Websites",
4
- "version": "0.0.0-5331",
4
+ "version": "0.0.0-5333",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -43,13 +43,13 @@
43
43
  "@babel/runtime": "^7.19.0",
44
44
  "@babel/runtime-corejs3": "^7.19.0",
45
45
  "@babel/traverse": "^7.19.0",
46
- "@docusaurus/cssnano-preset": "0.0.0-5331",
47
- "@docusaurus/logger": "0.0.0-5331",
48
- "@docusaurus/mdx-loader": "0.0.0-5331",
46
+ "@docusaurus/cssnano-preset": "0.0.0-5333",
47
+ "@docusaurus/logger": "0.0.0-5333",
48
+ "@docusaurus/mdx-loader": "0.0.0-5333",
49
49
  "@docusaurus/react-loadable": "5.5.2",
50
- "@docusaurus/utils": "0.0.0-5331",
51
- "@docusaurus/utils-common": "0.0.0-5331",
52
- "@docusaurus/utils-validation": "0.0.0-5331",
50
+ "@docusaurus/utils": "0.0.0-5333",
51
+ "@docusaurus/utils-common": "0.0.0-5333",
52
+ "@docusaurus/utils-validation": "0.0.0-5333",
53
53
  "@slorber/static-site-generator-webpack-plugin": "^4.0.7",
54
54
  "@svgr/webpack": "^6.3.1",
55
55
  "autoprefixer": "^10.4.8",
@@ -106,8 +106,8 @@
106
106
  "webpackbar": "^5.0.2"
107
107
  },
108
108
  "devDependencies": {
109
- "@docusaurus/module-type-aliases": "0.0.0-5331",
110
- "@docusaurus/types": "0.0.0-5331",
109
+ "@docusaurus/module-type-aliases": "0.0.0-5333",
110
+ "@docusaurus/types": "0.0.0-5333",
111
111
  "@types/detect-port": "^1.3.2",
112
112
  "@types/react-dom": "^18.0.6",
113
113
  "@types/react-router-config": "^5.0.6",
@@ -127,5 +127,5 @@
127
127
  "engines": {
128
128
  "node": ">=16.14"
129
129
  },
130
- "gitHead": "a232eb8aec2b86c4a47add50291c0cdf874b8759"
130
+ "gitHead": "48a61fb7cc6ea72249f5c859c3068ea46e8d2625"
131
131
  }