From 85e29605b58401336a18b1552607835b2965022e Mon Sep 17 00:00:00 2001 From: camera-2018 <2907618001@qq.com> Date: Thu, 2 Nov 2023 15:23:59 +0800 Subject: [PATCH] fix: webfont-dl --- .vitepress/config.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.vitepress/config.js b/.vitepress/config.js index 576e743..736987e 100644 --- a/.vitepress/config.js +++ b/.vitepress/config.js @@ -86,16 +86,7 @@ export default withMermaid({ vite: { plugins: [ VueMacros(), - webfontDownload([ - 'https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&family=Noto+Sans+Mono:wght@400;600;700&family=Noto+Sans+SC:wght@400;600;700&display=swap' - ], - { - injectAsStyleTag: true, - minifyCss: true, - async: true, - cache: true, - proxy: false, - }), + webfontDownload(), ], resolve: { alias: [