vite-plugin-react-deck 1.1.3 → 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.
Files changed (3) hide show
  1. package/index.cjs +8 -1
  2. package/index.mjs +8 -1
  3. package/package.json +1 -1
package/index.cjs CHANGED
@@ -275,7 +275,14 @@ root.render(
275
275
  <StrictMode>
276
276
  <Deck deck={deck} theme={${JSON.stringify(themeObject)}} layouts={layouts} />
277
277
  </StrictMode>
278
- )`;
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
+ `;
279
286
  }
280
287
 
281
288
  // src/index.ts
package/index.mjs CHANGED
@@ -254,7 +254,14 @@ root.render(
254
254
  <StrictMode>
255
255
  <Deck deck={deck} theme={${JSON.stringify(themeObject)}} layouts={layouts} />
256
256
  </StrictMode>
257
- )`;
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
+ `;
258
265
  }
259
266
 
260
267
  // src/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-react-deck",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "index.cjs",