From 5ce01d46a5fbd38214978d9d8318e4c0a9e2ad48 Mon Sep 17 00:00:00 2001 From: Sylvain Zimmer Date: Sun, 19 Jan 2025 15:23:54 +0100 Subject: [PATCH] Compatibility with Node 22+ Fixes #5. Tested with both Node 18 and 22. --- next.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.mjs b/next.config.mjs index 29759f59..05b0c87d 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -3,7 +3,7 @@ import createMDX from "@next/mdx"; import remarkGfm from "remark-gfm"; import ContentSecurityPolicy from "./csp.config.mjs"; -import pkg from "./package.json" assert { type: "json" }; +import pkg from "./package.json" with { type: "json" }; const withMDX = createMDX({ options: {