revert(mf): drop microfrontends — VNCmail+ is a standalone project

Remove withMicrofrontends wrap + @vercel/microfrontends dep. Grouping is
organizational (separate Vercel team), not a microfrontends group. App
serves at its own root again (NEXT_PUBLIC_BASE_PATH removed on Vercel).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Bernd Rodler
2026-08-03 16:28:12 +02:00
co-authored by Claude Opus 4.8
parent 0189935e7b
commit fb4e8f3591
4 changed files with 14 additions and 425 deletions
+1 -6
View File
@@ -1,7 +1,5 @@
import type { NextConfig } from "next";
import createNextIntlPlugin from "next-intl/plugin";
// VNC: microfrontends child — served under /mail by the VNClagoon Suite shell.
import { withMicrofrontends } from "@vercel/microfrontends/next/config";
import { execSync } from "child_process";
import { readFileSync } from "fs";
import { join } from "path";
@@ -66,7 +64,4 @@ const nextConfig: NextConfig = {
};
const withNextIntl = createNextIntlPlugin();
// VNC: wrap with microfrontends so this app participates in the VNClagoon
// Suite group (asset-prefix isolation + routing). Mounted at /mail via the
// NEXT_PUBLIC_BASE_PATH env var (build-time) set on the Vercel project.
export default withMicrofrontends(withNextIntl(nextConfig));
export default withNextIntl(nextConfig);