38691154c8
- Next static export (output: export) wrapped by Capacitor; appId com.bargevasat.app, appName «برگ وسط» - android/ native project + @capacitor/app; hardware back handled by CapacitorBack (back a screen, exit at home) - npm scripts (cap:sync, android:open, android:apk), ANDROID.md - Gradle Maven-mirror init-script template (dl.google.com/Maven Central are blocked in Iran — same reason NuGet is mirrored) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
11 lines
317 B
TypeScript
11 lines
317 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
// Static export so the app can be wrapped by Capacitor (Android/Cafe Bazaar)
|
|
// and hosted on any static host. The app is fully client-side (no SSR/runtime).
|
|
const nextConfig: NextConfig = {
|
|
output: "export",
|
|
images: { unoptimized: true },
|
|
};
|
|
|
|
export default nextConfig;
|