From dcf2b35f5f59328af12fec2ff4c329f764d8f0de Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Wed, 16 Sep 2026 11:09:59 +0200 Subject: [PATCH] chore: configure build optimization and rename deploy workflow --- .github/workflows/{deploy.yaml => deploy.yml} | 0 .vuepress/config.js | 9 ++++++++- package.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) rename .github/workflows/{deploy.yaml => deploy.yml} (100%) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yml similarity index 100% rename from .github/workflows/deploy.yaml rename to .github/workflows/deploy.yml diff --git a/.vuepress/config.js b/.vuepress/config.js index 685b0f08..269404e7 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -8,7 +8,14 @@ import sidebar from './sidebar' import { searchPlugin } from '@vuepress/plugin-search' export default defineUserConfig({ - bundler: viteBundler(), + bundler: viteBundler({ + viteOptions: { + build: { + sourcemap: false, + reportCompressedSize: false, + }, + }, + }), lang: 'en-US', title: 'Odoo Build', description: 'The Mint System Odoo development environment.', diff --git a/package.json b/package.json index 7d126857..83160ea0 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "dev": "vuepress dev .", - "build": "vuepress build ." + "build": "NODE_OPTIONS='--max-old-space-size=1024' vuepress build ." }, "repository": { "type": "git",