Skip to content

Commit b3b0c14

Browse files
committed
Try include files
1 parent edd2d99 commit b3b0c14

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/mdx/next.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module.exports = {
2+
outputFileTracing: true,
23
redirects() {
34
return [
45
{

packages/mdx/pages/[name].tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ import { CH } from "../src/components"
66
import theme from "shiki/themes/slack-dark.json"
77
import Link from "next/link"
88

9+
export const config = {
10+
unstable_includeFiles: ["./tests"],
11+
includeFiles: ["./tests"],
12+
}
13+
914
export async function getServerSideProps({ params }) {
1015
const files = await fs.promises.readdir("./tests/")
1116

0 commit comments

Comments
 (0)