fumadocs-mdx 13.0.4 → 13.0.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/dist/bin.cjs +1 -1
- package/dist/bin.js +1 -1
- package/package.json +1 -1
package/dist/bin.cjs
CHANGED
|
@@ -1823,7 +1823,7 @@ var init_vite2 = __esm({
|
|
|
1823
1823
|
var import_node_fs = require("fs");
|
|
1824
1824
|
async function start() {
|
|
1825
1825
|
const [configPath] = process.argv.slice(2);
|
|
1826
|
-
const isNext = (0, import_node_fs.existsSync)("next.config.js") || (0, import_node_fs.existsSync)("next.config.mjs") || (0, import_node_fs.existsSync)("next.config.ts");
|
|
1826
|
+
const isNext = (0, import_node_fs.existsSync)("next.config.js") || (0, import_node_fs.existsSync)("next.config.mjs") || (0, import_node_fs.existsSync)("next.config.mts") || (0, import_node_fs.existsSync)("next.config.ts");
|
|
1827
1827
|
if (isNext) {
|
|
1828
1828
|
const { postInstall: postInstall3 } = await Promise.resolve().then(() => (init_next2(), next_exports));
|
|
1829
1829
|
await postInstall3(configPath);
|
package/dist/bin.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { existsSync } from "fs";
|
|
5
5
|
async function start() {
|
|
6
6
|
const [configPath] = process.argv.slice(2);
|
|
7
|
-
const isNext = existsSync("next.config.js") || existsSync("next.config.mjs") || existsSync("next.config.ts");
|
|
7
|
+
const isNext = existsSync("next.config.js") || existsSync("next.config.mjs") || existsSync("next.config.mts") || existsSync("next.config.ts");
|
|
8
8
|
if (isNext) {
|
|
9
9
|
const { postInstall } = await import("./next/index.js");
|
|
10
10
|
await postInstall(configPath);
|