mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-05 05:42:39 +02:00
Merge pull request #889 from CREDO23/electon-desktop
[Feat] Desktop app (Win, Mac, Linux)
This commit is contained in:
commit
c6a83535d2
18 changed files with 3774 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue