Skip to content

Commit f316acb

Browse files
authored
1 parent 339d0f5 commit f316acb

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@markdoc/next.js",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"author": "Stripe, Inc.",
55
"description": "Markdoc plugin for Next.js",
66
"license": "MIT",

src/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ const withMarkdoc =
1414
...pluginOptions,
1515
dir: options.dir,
1616
nextRuntime: options.nextRuntime,
17-
appDir: options.config.experimental.appDir,
17+
appDir:
18+
options.config.experimental.appDir &&
19+
options.defaultLoaders.babel.options.appDir,
1820
},
1921
},
2022
],

0 commit comments

Comments
 (0)