From 48bbe1ced448745b85bbe791a81e677ed1472871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 13 Feb 2026 14:51:48 +0100 Subject: [PATCH] fix: bulds failing due to mixed import methods MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- docusaurus.config.js | 4 ++-- flake.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 34a8ace5..93bc2777 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -2,8 +2,8 @@ // Note: type annotations allow type checking and IDEs autocompletion require('dotenv').config() -import remarkMath from 'remark-math' -import rehypeKatex from 'rehype-katex' +const remarkMath = require('remark-math').default +const rehypeKatex = require('rehype-katex').default /** @type {import('@docusaurus/types').Config} */ const config = { diff --git a/flake.nix b/flake.nix index bd3e6499..8a466f78 100644 --- a/flake.nix +++ b/flake.nix @@ -26,7 +26,7 @@ git # 2.44.1 openssh # 9.7p1 yarn # 1.22.22 - nodejs_20 # v20.15.1 + nodejs_24 # v24.4.1 ghp-import # 2.1.0 ]; };