- Set `NODE_OPTIONS='--max-old-space-size=768'` in package.json build script to cap V8 heap and prevent OOM - Disabled sourcemaps and compressed size reporting in Vite config to lower memory usage during build - Updated sitemap lastmod dates to reflect recent changes - Added task documentation for memory profiling and optimization results in prompts directory
25 lines
783 B
JSON
25 lines
783 B
JSON
{
|
|
"name": "odoo-wiki",
|
|
"scripts": {
|
|
"build": "node build.js && NODE_OPTIONS='--max-old-space-size=768' vuepress build src",
|
|
"dev": "node build.js && vuepress dev src",
|
|
"download-icons": "node download-icons.js"
|
|
},
|
|
"devDependencies": {
|
|
"@vuepress/bundler-vite": "2.0.0-rc.30",
|
|
"@vuepress/client": "2.0.0-rc.30",
|
|
"@vuepress/plugin-docsearch": "2.0.0-rc.131",
|
|
"@vuepress/plugin-search": "2.0.0-rc.131",
|
|
"@vuepress/plugin-shiki": "2.0.0-rc.131",
|
|
"@vuepress/plugin-slimsearch": "2.0.0-rc.112",
|
|
"@vuepress/theme-default": "2.0.0-rc.131",
|
|
"@vuepress/utils": "2.0.0-rc.30",
|
|
"mermaid": "^11.6.0",
|
|
"prettier": "3.6.2",
|
|
"sass-embedded": "^1.89.0",
|
|
"sharp": "^0.33.5",
|
|
"vue": "^3.5.15",
|
|
"vuepress": "2.0.0-rc.30"
|
|
}
|
|
}
|