prev-cli 0.24.19 → 0.24.20
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/dist/cli.js +11 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -2728,6 +2728,7 @@ async function createViteConfig(options) {
|
|
|
2728
2728
|
remarkPlugins: [remarkGfm],
|
|
2729
2729
|
rehypePlugins: [rehypeHighlight],
|
|
2730
2730
|
providerImportSource: "@mdx-js/react",
|
|
2731
|
+
development: false,
|
|
2731
2732
|
include: [
|
|
2732
2733
|
path9.join(rootDir, "**/*.md"),
|
|
2733
2734
|
path9.join(rootDir, "**/*.mdx")
|
|
@@ -3191,9 +3192,19 @@ async function createViteConfig(options) {
|
|
|
3191
3192
|
"@tanstack/react-router"
|
|
3192
3193
|
]
|
|
3193
3194
|
},
|
|
3195
|
+
esbuild: {
|
|
3196
|
+
jsx: "automatic",
|
|
3197
|
+
jsxImportSource: "react",
|
|
3198
|
+
jsxDev: false
|
|
3199
|
+
},
|
|
3194
3200
|
optimizeDeps: {
|
|
3195
3201
|
noDiscovery: true,
|
|
3196
3202
|
holdUntilCrawlEnd: false,
|
|
3203
|
+
esbuildOptions: {
|
|
3204
|
+
jsx: "automatic",
|
|
3205
|
+
jsxImportSource: "react",
|
|
3206
|
+
jsxDev: false
|
|
3207
|
+
},
|
|
3197
3208
|
include: [
|
|
3198
3209
|
"react-dom/client",
|
|
3199
3210
|
"use-sync-external-store",
|