Merge pull request #889 from CREDO23/electon-desktop

[Feat] Desktop app (Win, Mac, Linux)
This commit is contained in:
Rohan Verma 2026-03-18 12:56:42 -07:00 committed by GitHub
commit c6a83535d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 3774 additions and 12 deletions

View file

@ -71,7 +71,7 @@ COPY --from=builder /app/public ./public
# Automatically leverage output traces to reduce image size
# https://nextjs.org/docs/advanced-features/output-file-tracing
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone/app/ ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
# Entrypoint scripts for runtime env var substitution

View file

@ -1,3 +1,4 @@
import path from "path";
import { createMDX } from "fumadocs-mdx/next";
import type { NextConfig } from "next";
import createNextIntlPlugin from "next-intl/plugin";
@ -5,8 +6,12 @@ import createNextIntlPlugin from "next-intl/plugin";
// Create the next-intl plugin
const withNextIntl = createNextIntlPlugin("./i18n/request.ts");
// TODO: Separate app routes (/login, /dashboard) from marketing routes
// (landing page, /contact, /pricing, /docs) so the desktop build only
// ships what desktop users actually need.
const nextConfig: NextConfig = {
output: "standalone",
outputFileTracingRoot: path.join(__dirname, ".."),
reactStrictMode: false,
typescript: {
ignoreBuildErrors: true,