fix: shiki render problem

This commit is contained in:
BennyKok 2023-12-16 01:47:06 +08:00
parent 64db3b326e
commit d94ba356fb
2 changed files with 3 additions and 9 deletions

View File

@ -3,6 +3,9 @@ const nextConfig = {
eslint: {
ignoreDuringBuilds: true,
},
experimental: {
serverComponentsExternalPackages: ["shiki"],
},
};
module.exports = nextConfig;

View File

@ -104,13 +104,4 @@ export async function createRun(
workflow_run_id: workflow_run[0].id,
message: "Successfully workflow run",
};
// return NextResponse.json(
// {
// workflow_run_id: workflow_run[0].id,
// },
// {
// status: 200,
// }
// );
}