vite-plugin-react-deck 1.1.4 → 1.1.5
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.
- package/index.cjs +8 -2
- package/index.mjs +8 -2
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -242,7 +242,6 @@ function createIndexFile({ entrypoint }) {
|
|
|
242
242
|
</style>
|
|
243
243
|
|
|
244
244
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
245
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css">
|
|
246
245
|
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
|
247
246
|
</head>
|
|
248
247
|
<body>
|
|
@@ -276,7 +275,14 @@ root.render(
|
|
|
276
275
|
<StrictMode>
|
|
277
276
|
<Deck deck={deck} theme={${JSON.stringify(themeObject)}} layouts={layouts} />
|
|
278
277
|
</StrictMode>
|
|
279
|
-
)
|
|
278
|
+
)
|
|
279
|
+
|
|
280
|
+
let link = document.createElement('link')
|
|
281
|
+
link.rel = 'stylesheet'
|
|
282
|
+
link.type = 'text/css'
|
|
283
|
+
link.href = 'https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css'
|
|
284
|
+
document.head.appendChild(link)
|
|
285
|
+
`;
|
|
280
286
|
}
|
|
281
287
|
|
|
282
288
|
// src/index.ts
|
package/index.mjs
CHANGED
|
@@ -221,7 +221,6 @@ function createIndexFile({ entrypoint }) {
|
|
|
221
221
|
</style>
|
|
222
222
|
|
|
223
223
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
224
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css">
|
|
225
224
|
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
|
226
225
|
</head>
|
|
227
226
|
<body>
|
|
@@ -255,7 +254,14 @@ root.render(
|
|
|
255
254
|
<StrictMode>
|
|
256
255
|
<Deck deck={deck} theme={${JSON.stringify(themeObject)}} layouts={layouts} />
|
|
257
256
|
</StrictMode>
|
|
258
|
-
)
|
|
257
|
+
)
|
|
258
|
+
|
|
259
|
+
let link = document.createElement('link')
|
|
260
|
+
link.rel = 'stylesheet'
|
|
261
|
+
link.type = 'text/css'
|
|
262
|
+
link.href = 'https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css'
|
|
263
|
+
document.head.appendChild(link)
|
|
264
|
+
`;
|
|
259
265
|
}
|
|
260
266
|
|
|
261
267
|
// src/index.ts
|