fix: webfont-dl
This commit is contained in:
@@ -88,7 +88,14 @@ export default withMermaid({
|
|||||||
VueMacros(),
|
VueMacros(),
|
||||||
webfontDownload([
|
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'
|
'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,
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: [
|
alias: [
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
"markdown-it-mathjax3": "^4.3.2",
|
"markdown-it-mathjax3": "^4.3.2",
|
||||||
"mermaid": "^10.6.0",
|
"mermaid": "^10.6.0",
|
||||||
"unplugin-vue-macros": "^2.6.2",
|
"unplugin-vue-macros": "^2.6.2",
|
||||||
"vite-plugin-webfont-dl": "^3.7.6",
|
"vite-plugin-webfont-dl": "^3.8.0",
|
||||||
"vitepress": "^1.0.0-rc.24",
|
"vitepress": "^1.0.0-rc.24",
|
||||||
"vitepress-plugin-mermaid-xyxsw": "^2.12.13"
|
"vitepress-plugin-mermaid-xyxsw": "^2.12.13"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user