From 27dff73aab2f89d9f6dc3ff569ef4ce83e6b8b38 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 2 Jun 2026 18:30:53 +0000 Subject: [PATCH 1/2] Add Vercel deployment configuration Configure build command, output directory, and submodule initialization so the project deploys correctly on Vercel. --- vercel.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..d3c06b2 --- /dev/null +++ b/vercel.json @@ -0,0 +1,6 @@ +{ + "framework": null, + "installCommand": "git submodule update --init --recursive && npm ci", + "buildCommand": "npm run build-prod", + "outputDirectory": "dist" +} From 0ad3655a61535946af4fb83c75019732c7ae2cb2 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 2 Jun 2026 18:39:28 +0000 Subject: [PATCH 2/2] Fix submodule URLs to use absolute GitHub HTTPS paths Relative URLs (../repo) are GitLab-specific and don't resolve correctly on GitHub/Vercel. Replace with explicit HTTPS URLs so submodules initialize properly during Vercel builds. --- .gitmodules | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitmodules b/.gitmodules index 222833d..76e31c8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,18 +1,18 @@ [submodule "webfont"] path = webfont - url = ../webfont + url = https://github.com/moddy-app/webfont [submodule "pagex"] path = pagex - url = ../pagex + url = https://github.com/moddy-app/pagex [submodule "voidcannon"] path = voidcannon - url = ../voidcannon + url = https://github.com/moddy-app/voidcannon [submodule "webicons"] path = webicons - url = ../webicons + url = https://github.com/moddy-app/webicons [submodule "gm3"] path = gm3 - url = ../gm3 + url = https://github.com/moddy-app/gm3 [submodule "pagex_commons"] path = pagex_commons - url = ../pagex_commons + url = https://github.com/moddy-app/pagex_commons