From b1e676e694f5b482537b1936dbfbce1aef513051 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sat, 26 Aug 2023 22:31:16 +0200 Subject: [PATCH] chore(docs): add hotfix for `micromark` import issue --- docs/nuxt.config.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/nuxt.config.ts b/docs/nuxt.config.ts index 999ead8abf..fb610d46c1 100644 --- a/docs/nuxt.config.ts +++ b/docs/nuxt.config.ts @@ -1,4 +1,8 @@ export default defineNuxtConfig({ - extends: '@nuxt-themes/docus', - modules: ['@nuxtjs/plausible'] -}) + extends: "@nuxt-themes/docus", + modules: ["@nuxtjs/plausible"], + alias: { + "micromark/lib/preprocess.js": "micromark", + "micromark/lib/postprocess.js": "micromark", + }, +});