fumadocs-mdx 14.0.2 → 14.0.3
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/bun/index.js +5 -5
- package/dist/{index-RVIZxMZG.d.ts → index-DG1I0CwF.d.ts} +1 -1
- package/dist/next/index.cjs +2 -2
- package/dist/next/index.js +5 -5
- package/dist/node/loader.js +1 -1
- package/dist/plugins/index-file.js +2 -2
- package/dist/runtime/dynamic.js +2 -2
- package/dist/vite/index.js +6 -6
- package/dist/webpack/mdx.d.ts +1 -1
- package/dist/webpack/mdx.js +2 -2
- package/dist/webpack/meta.d.ts +1 -1
- package/dist/webpack/meta.js +1 -1
- package/package.json +2 -2
- package/dist/{chunk-ED3ON275.js → chunk-DKA3EWZH.js} +3 -3
package/dist/bun/index.js
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
buildConfig
|
|
3
|
-
} from "../chunk-6RPNS75C.js";
|
|
4
|
-
import "../chunk-S7KOJHHO.js";
|
|
5
1
|
import {
|
|
6
2
|
createMdxLoader
|
|
7
3
|
} from "../chunk-USWQVJWR.js";
|
|
@@ -12,13 +8,17 @@ import {
|
|
|
12
8
|
createIntegratedConfigLoader,
|
|
13
9
|
toBun
|
|
14
10
|
} from "../chunk-OLL7FM7W.js";
|
|
11
|
+
import {
|
|
12
|
+
buildConfig
|
|
13
|
+
} from "../chunk-6RPNS75C.js";
|
|
15
14
|
import "../chunk-4JSFLXXT.js";
|
|
16
15
|
import {
|
|
17
16
|
_Defaults,
|
|
18
17
|
createCore
|
|
19
18
|
} from "../chunk-GB4W3YCZ.js";
|
|
20
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-S7KOJHHO.js";
|
|
21
20
|
import "../chunk-VWJKRQZR.js";
|
|
21
|
+
import "../chunk-WBIHDYMN.js";
|
|
22
22
|
|
|
23
23
|
// src/bun/index.ts
|
|
24
24
|
import { pathToFileURL } from "url";
|
package/dist/next/index.cjs
CHANGED
|
@@ -948,7 +948,7 @@ function createMDX(createOptions = {}) {
|
|
|
948
948
|
return (nextConfig = {}) => {
|
|
949
949
|
const loaderOptions = {
|
|
950
950
|
...core.getOptions(),
|
|
951
|
-
|
|
951
|
+
absoluteCompiledConfigPath: path5.resolve(core.getCompiledConfigPath()),
|
|
952
952
|
isDev
|
|
953
953
|
};
|
|
954
954
|
const turbopack = {
|
|
@@ -1005,8 +1005,8 @@ function createMDX(createOptions = {}) {
|
|
|
1005
1005
|
},
|
|
1006
1006
|
{
|
|
1007
1007
|
test: metaLoaderGlob,
|
|
1008
|
+
enforce: "pre",
|
|
1008
1009
|
use: [
|
|
1009
|
-
options.defaultLoaders.babel,
|
|
1010
1010
|
{
|
|
1011
1011
|
loader: "fumadocs-mdx/loader-meta",
|
|
1012
1012
|
options: loaderOptions
|
package/dist/next/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import {
|
|
|
2
2
|
loadConfig
|
|
3
3
|
} from "../chunk-LPX7ZO66.js";
|
|
4
4
|
import "../chunk-6RPNS75C.js";
|
|
5
|
-
import "../chunk-S7KOJHHO.js";
|
|
6
5
|
import {
|
|
7
6
|
mdxLoaderGlob,
|
|
8
7
|
metaLoaderGlob
|
|
@@ -12,11 +11,12 @@ import {
|
|
|
12
11
|
_Defaults,
|
|
13
12
|
createCore
|
|
14
13
|
} from "../chunk-GB4W3YCZ.js";
|
|
14
|
+
import "../chunk-S7KOJHHO.js";
|
|
15
15
|
import {
|
|
16
16
|
indexFile
|
|
17
|
-
} from "../chunk-
|
|
18
|
-
import "../chunk-WBIHDYMN.js";
|
|
17
|
+
} from "../chunk-DKA3EWZH.js";
|
|
19
18
|
import "../chunk-VWJKRQZR.js";
|
|
19
|
+
import "../chunk-WBIHDYMN.js";
|
|
20
20
|
|
|
21
21
|
// src/next/index.ts
|
|
22
22
|
import * as path from "path";
|
|
@@ -31,7 +31,7 @@ function createMDX(createOptions = {}) {
|
|
|
31
31
|
return (nextConfig = {}) => {
|
|
32
32
|
const loaderOptions = {
|
|
33
33
|
...core.getOptions(),
|
|
34
|
-
|
|
34
|
+
absoluteCompiledConfigPath: path.resolve(core.getCompiledConfigPath()),
|
|
35
35
|
isDev
|
|
36
36
|
};
|
|
37
37
|
const turbopack = {
|
|
@@ -88,8 +88,8 @@ function createMDX(createOptions = {}) {
|
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
test: metaLoaderGlob,
|
|
91
|
+
enforce: "pre",
|
|
91
92
|
use: [
|
|
92
|
-
options.defaultLoaders.babel,
|
|
93
93
|
{
|
|
94
94
|
loader: "fumadocs-mdx/loader-meta",
|
|
95
95
|
options: loaderOptions
|
package/dist/node/loader.js
CHANGED
package/dist/runtime/dynamic.js
CHANGED
|
@@ -8,14 +8,14 @@ import "../chunk-FBLMK4RS.js";
|
|
|
8
8
|
import {
|
|
9
9
|
buildConfig
|
|
10
10
|
} from "../chunk-6RPNS75C.js";
|
|
11
|
-
import "../chunk-S7KOJHHO.js";
|
|
12
11
|
import {
|
|
13
12
|
createCore
|
|
14
13
|
} from "../chunk-GB4W3YCZ.js";
|
|
15
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-S7KOJHHO.js";
|
|
16
15
|
import {
|
|
17
16
|
fumaMatter
|
|
18
17
|
} from "../chunk-VWJKRQZR.js";
|
|
18
|
+
import "../chunk-WBIHDYMN.js";
|
|
19
19
|
|
|
20
20
|
// src/runtime/dynamic.ts
|
|
21
21
|
import { executeMdx } from "@fumadocs/mdx-remote/client";
|
package/dist/vite/index.js
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
buildConfig
|
|
3
|
-
} from "../chunk-6RPNS75C.js";
|
|
4
|
-
import "../chunk-S7KOJHHO.js";
|
|
5
1
|
import {
|
|
6
2
|
createMdxLoader
|
|
7
3
|
} from "../chunk-USWQVJWR.js";
|
|
@@ -12,17 +8,21 @@ import {
|
|
|
12
8
|
createIntegratedConfigLoader,
|
|
13
9
|
toVite
|
|
14
10
|
} from "../chunk-OLL7FM7W.js";
|
|
11
|
+
import {
|
|
12
|
+
buildConfig
|
|
13
|
+
} from "../chunk-6RPNS75C.js";
|
|
15
14
|
import "../chunk-4JSFLXXT.js";
|
|
16
15
|
import {
|
|
17
16
|
ValidationError,
|
|
18
17
|
_Defaults,
|
|
19
18
|
createCore
|
|
20
19
|
} from "../chunk-GB4W3YCZ.js";
|
|
20
|
+
import "../chunk-S7KOJHHO.js";
|
|
21
21
|
import {
|
|
22
22
|
indexFile
|
|
23
|
-
} from "../chunk-
|
|
24
|
-
import "../chunk-WBIHDYMN.js";
|
|
23
|
+
} from "../chunk-DKA3EWZH.js";
|
|
25
24
|
import "../chunk-VWJKRQZR.js";
|
|
25
|
+
import "../chunk-WBIHDYMN.js";
|
|
26
26
|
|
|
27
27
|
// src/vite/index.ts
|
|
28
28
|
import { mergeConfig } from "vite";
|
package/dist/webpack/mdx.d.ts
CHANGED
package/dist/webpack/mdx.js
CHANGED
|
@@ -10,15 +10,15 @@ import {
|
|
|
10
10
|
} from "../chunk-OLL7FM7W.js";
|
|
11
11
|
import "../chunk-4JSFLXXT.js";
|
|
12
12
|
import "../chunk-GB4W3YCZ.js";
|
|
13
|
-
import "../chunk-WBIHDYMN.js";
|
|
14
13
|
import "../chunk-VWJKRQZR.js";
|
|
14
|
+
import "../chunk-WBIHDYMN.js";
|
|
15
15
|
|
|
16
16
|
// src/webpack/mdx.ts
|
|
17
17
|
var instance;
|
|
18
18
|
async function loader(source, callback) {
|
|
19
19
|
const options = this.getOptions();
|
|
20
20
|
this.cacheable(true);
|
|
21
|
-
this.addDependency(options.
|
|
21
|
+
this.addDependency(options.absoluteCompiledConfigPath);
|
|
22
22
|
if (!instance) {
|
|
23
23
|
instance = toWebpack(
|
|
24
24
|
createMdxLoader(
|
package/dist/webpack/meta.d.ts
CHANGED
package/dist/webpack/meta.js
CHANGED
|
@@ -17,7 +17,7 @@ var instance;
|
|
|
17
17
|
async function loader(source, callback) {
|
|
18
18
|
const options = this.getOptions();
|
|
19
19
|
this.cacheable(true);
|
|
20
|
-
this.addDependency(options.
|
|
20
|
+
this.addDependency(options.absoluteCompiledConfigPath);
|
|
21
21
|
if (!instance) {
|
|
22
22
|
instance = toWebpack(
|
|
23
23
|
createMetaLoader(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-mdx",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.3",
|
|
4
4
|
"description": "The built-in source for Fumadocs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"webpack": "^5.102.1",
|
|
98
98
|
"@fumadocs/mdx-remote": "1.4.3",
|
|
99
99
|
"eslint-config-custom": "0.0.0",
|
|
100
|
-
"fumadocs-core": "16.0.
|
|
100
|
+
"fumadocs-core": "16.0.15",
|
|
101
101
|
"tsconfig": "0.0.0"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|