prev-cli 0.24.2 → 0.24.4
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 +4 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -882,6 +882,8 @@ async function createViteConfig(options) {
|
|
|
882
882
|
base: base || "/",
|
|
883
883
|
customLogger: createFriendlyLogger(),
|
|
884
884
|
logLevel: mode === "production" ? "silent" : "info",
|
|
885
|
+
envDir: cliRoot2,
|
|
886
|
+
envPrefix: "PREV_",
|
|
885
887
|
plugins: [
|
|
886
888
|
mdx({
|
|
887
889
|
remarkPlugins: [remarkGfm],
|
|
@@ -1047,6 +1049,7 @@ async function createViteConfig(options) {
|
|
|
1047
1049
|
},
|
|
1048
1050
|
optimizeDeps: {
|
|
1049
1051
|
entries: [],
|
|
1052
|
+
noDiscovery: true,
|
|
1050
1053
|
include: [
|
|
1051
1054
|
"react",
|
|
1052
1055
|
"react-dom",
|
|
@@ -1054,6 +1057,7 @@ async function createViteConfig(options) {
|
|
|
1054
1057
|
"@tanstack/react-router",
|
|
1055
1058
|
"react/jsx-runtime",
|
|
1056
1059
|
"react/jsx-dev-runtime",
|
|
1060
|
+
"@mdx-js/react",
|
|
1057
1061
|
"mermaid",
|
|
1058
1062
|
"dayjs",
|
|
1059
1063
|
"@terrastruct/d2"
|