prev-cli 0.24.5 → 0.24.6

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 (2) hide show
  1. package/dist/cli.js +11 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1202,7 +1202,17 @@ async function createViteConfig(options) {
1202
1202
  },
1203
1203
  optimizeDeps: {
1204
1204
  noDiscovery: true,
1205
- include: [],
1205
+ include: [
1206
+ "react",
1207
+ "react-dom",
1208
+ "react-dom/client",
1209
+ "react/jsx-runtime",
1210
+ "react/jsx-dev-runtime",
1211
+ "@tanstack/react-router",
1212
+ "use-sync-external-store",
1213
+ "use-sync-external-store/shim/with-selector.js",
1214
+ "@mdx-js/react"
1215
+ ],
1206
1216
  exclude: [
1207
1217
  "virtual:prev-config",
1208
1218
  "virtual:prev-previews",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prev-cli",
3
- "version": "0.24.5",
3
+ "version": "0.24.6",
4
4
  "description": "Transform MDX directories into beautiful documentation websites",
5
5
  "type": "module",
6
6
  "license": "MIT",