Skip to content

Commit

Permalink
fix: try to fix memory limit
Browse files Browse the repository at this point in the history
  • Loading branch information
SessionHu authored Aug 28, 2024
1 parent 4e28226 commit 7569bea
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,20 @@ export default defineUserConfig({
repo: "https://github.com/SocialSisterYi/bilibili-API-collect",
docsBranch: "vp-next",
editLinkText: "在 GitHub 上编辑此页",
colorMode: "auto"
colorMode: "auto",
themePlugins: {
prismjs: false,
sitemap: false
}
}),
plugins: [
searchPlugin({}),
shikiPlugin({
lineNumbers: true
langs: [
'javascript', 'typescript', 'markdown', 'protobuf', 'json', 'jsonc',
'shell', 'go', 'html', 'http', 'java', 'kotlin', 'python', 'rust', 'c',
'c++', 'cs', 'php', 'swift'
]
})
],
extendsMarkdown: (md) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"scripts": {
"dev": "vuepress dev",
"build": "vuepress build"
"build": "NODE_OPTIONS='--max-old-space-size=8192' vuepress build"
},
"devDependencies": {
"@vuepress/bundler-vite": "^2.0.0-rc.15",
Expand Down

0 comments on commit 7569bea

Please sign in to comment.